提交 5c35afb5 编写于 作者: A annie_wangli

update docs

Signed-off-by: Nannie_wangli <annie.wangli@huawei.com>
上级 b9128d58
# Peripherals<a name="EN-US_TOPIC_0000001157319411"></a>
# Peripheral Driver Development<a name="EN-US_TOPIC_0000001157319411"></a>
- **[LCD](driver-peripherals-lcd-des.md)**
......
......@@ -104,7 +104,7 @@ A watchdog, also called a watchdog timer, is a hardware timing device. If an err
Use **WatchdogOpen** to open a watchdog. A system may have multiple watchdogs. You can open the specified watchdog by using the ID.
int32\_t WatchdogOpen\(int16\_t wdtId\);
DevHandle WatchdogOpen\(int16\_t wdtId\);
**Table 2** Description of WatchdogOpen
......@@ -201,7 +201,7 @@ if (ret != 0) {
### Setting the Timeout Duration<a name="section182386137111"></a>
int32\_t WatchdogSetTimeout\(PalHandle \*handle, uint32\_t seconds\);
int32\_t WatchdogSetTimeout\(DevHandle \*handle, uint32\_t seconds\);
**Table 4** Description of WatchdogSetTimeout
......@@ -253,7 +253,7 @@ if (ret != 0) {
### Obtaining the Timeout Duration<a name="section1883310371114"></a>
int32\_t WatchdogGetTimeout\(PalHandle \*handle, uint32\_t \*seconds\);
int32\_t WatchdogGetTimeout\(DevHandle \*handle, uint32\_t \*seconds\);
**Table 5** Description of WatchdogGetTimeout
......
......@@ -250,7 +250,8 @@ The OpenHarmony kernel uses the **musl libc** library and self-developed APIs
<td class="cellrowborder" valign="top" headers="mcps1.2.5.1.3 "><p id="p5747174219504"><a name="p5747174219504"></a><a name="p5747174219504"></a>Deletes a file.</p>
</td>
</tr>
<tr id="row117941848155011"><td class="cellrowborder" valign="top" headers="mcps1.2.5.1.1 "><p id="p157951148105019"><a name="p157951148105019"></a><a name="p157951148105019"></a>#include &lt;fcntl.h</p>
<tr id="row117941848155011"><td class="cellrowborder" valign="top" headers="mcps1.2.5.1.1 "><p id="p157951148105019"><a
name="p157951148105019"></a><a name="p157951148105019"></a>#include &lt;fcntl.h&gt;</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.2.5.1.2 "><p id="p1086884114190"><a name="p1086884114190"></a><a name="p1086884114190"></a>int open(const char *path, int oflags, ...);</p>
</td>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册