未验证 提交 76f2467e 编写于 作者: K king_he 提交者: Gitee

update en/device-dev/driver/driver-platform-i3c-develop.md.

Signed-off-by: Nking_he <6384784@qq.com>
上级 8219a838
...@@ -24,7 +24,7 @@ The Improved Inter-Integrated Circuit (I3C) is a simple and cost-efficient bidir ...@@ -24,7 +24,7 @@ The Improved Inter-Integrated Circuit (I3C) is a simple and cost-efficient bidir
}; };
``` ```
**Table 1** APIs for the members in the I3cMethod structure **Table 1** APIs for the members in the I3cMethod structure
|Method|Input Parameter|Output Parameter|Return Value|Description| |Method|Input Parameter|Output Parameter|Return Value|Description|
|-|-|-|-|-| |-|-|-|-|-|
...@@ -52,7 +52,9 @@ The I3C module adaptation involves the following steps: ...@@ -52,7 +52,9 @@ The I3C module adaptation involves the following steps:
3. Instantiate the I3C controller object. 3. Instantiate the I3C controller object.
- Initialize **I3cCntlr**. - Initialize **I3cCntlr**.
- Instantiate **I3cMethod** in **I3cCntlr**. For details, see [Available APIs](#available-apis). - Instantiate **I3cMethod** in **I3cCntlr**.
For details, see [Available APIs](#available-apis).
4. Register an interrupt handler. 4. Register an interrupt handler.
Register an interrupt handler for the controller to implement the device hot-join and in-band interrupt (IBI) features. Register an interrupt handler for the controller to implement the device hot-join and in-band interrupt (IBI) features.
...@@ -197,7 +199,7 @@ The I3C module adaptation involves the following steps: ...@@ -197,7 +199,7 @@ The I3C module adaptation involves the following steps:
- **Init** function - **Init** function
> Input parameter: > Input parameter:
> **HdfDeviceObject**, an interface parameter exposed by the driver, contains the .hcs configuration. > **HdfDeviceObject**, an interface parameter exposed by the driver, contains the .hcs configuration.
> >
> Return value: > Return value:
> **HDF_STATUS** (The following table lists some states. For more details, see **HDF\_STATUS** definition in the **/drivers/framework/include/utils/hdf\_base.h file**.) > **HDF_STATUS** (The following table lists some states. For more details, see **HDF\_STATUS** definition in the **/drivers/framework/include/utils/hdf\_base.h file**.)
...@@ -410,4 +412,4 @@ The I3C module adaptation involves the following steps: ...@@ -410,4 +412,4 @@ The I3C module adaptation involves the following steps:
return HDF_SUCCESS; return HDF_SUCCESS;
} }
``` ```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册