未验证 提交 5077b3da 编写于 作者: K king_he 提交者: Gitee

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

Signed-off-by: Nking_he <6384784@qq.com>
上级 76f2467e
...@@ -68,13 +68,11 @@ The I2C module adaptation involves the following steps: ...@@ -68,13 +68,11 @@ The I2C module adaptation involves the following steps:
- Initialize **I2cCntlr**. - Initialize **I2cCntlr**.
- Instantiate **I2cMethod** and **I2cLockMethod** in **I2cCntlr**. - Instantiate **I2cMethod** and **I2cLockMethod** in **I2cCntlr**.
>![](../public_sys-resources/icon-note.gif) **NOTE** For details, see [Available APIs](#available-apis).
>For details, see [Available APIs](#available-apis). 4. \(Optional\) Debug the driver.
For new drivers, verify basic functions, for example, verify the information returned after the connect operation and whether data is successfully transmitted.
4. Debug the driver.
- \(Optional\) For new drivers, verify basic functions, for example, verify the information returned after the connect operation and whether data is successfully transmitted.
...@@ -395,6 +393,3 @@ The following uses **i2c\_hi35xx.c** as an example to present the contents tha ...@@ -395,6 +393,3 @@ The following uses **i2c\_hi35xx.c** as an example to present the contents tha
return; return;
} }
``` ```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册