diff --git a/en/device-dev/driver/driver-peripherals.md b/en/device-dev/driver/driver-peripherals.md index 02e7a9e357a6eb7484f8a0eea5a486c3a90b396a..2269b5f9dde2fbe881a7047b0f08d09ad7304be0 100644 --- a/en/device-dev/driver/driver-peripherals.md +++ b/en/device-dev/driver/driver-peripherals.md @@ -1,4 +1,4 @@ -# Peripherals +# Peripheral Driver Development - **[LCD](driver-peripherals-lcd-des.md)** diff --git a/en/device-dev/driver/driver-platform-watchdog-des.md b/en/device-dev/driver/driver-platform-watchdog-des.md index ddaddc1abe08efca457b46b26db353dc0df06f2e..6b907fcdf0dd75eb047d74a045d79a4ab16e00ce 100644 --- a/en/device-dev/driver/driver-platform-watchdog-des.md +++ b/en/device-dev/driver/driver-platform-watchdog-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 -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 -int32\_t WatchdogGetTimeout\(PalHandle \*handle, uint32\_t \*seconds\); +int32\_t WatchdogGetTimeout\(DevHandle \*handle, uint32\_t \*seconds\); **Table 5** Description of WatchdogGetTimeout diff --git a/en/device-dev/kernel/kernel-mini-appx-lib-posix.md b/en/device-dev/kernel/kernel-mini-appx-lib-posix.md index ebed9d85d51bb803ee54a998d7e944afd9621f5b..e5cc7ba886d7cd3f8bf895521bff5ec8bdf689c7 100644 --- a/en/device-dev/kernel/kernel-mini-appx-lib-posix.md +++ b/en/device-dev/kernel/kernel-mini-appx-lib-posix.md @@ -250,7 +250,8 @@ The OpenHarmony kernel uses the **musl libc** library and self-developed APIs

Deletes a file.

-

#include <fcntl.h

+

#include <fcntl.h>

int open(const char *path, int oflags, ...);

diff --git a/en/device-dev/subsystems/oem_subsys_toolchain_hdc_guide.md b/en/device-dev/subsystems/oem_subsys_toolchain_hdc_guide.md index 8116d317a2f56abdd4fcd5304d2c5076fd5fdf6b..8cb18fe497bdb4d236cc15470edf1eec03457aee 100644 --- a/en/device-dev/subsystems/oem_subsys_toolchain_hdc_guide.md +++ b/en/device-dev/subsystems/oem_subsys_toolchain_hdc_guide.md @@ -45,7 +45,7 @@ This section describes how to set up the hdc\_std environment and use its common **Obtaining hdc\_std:** -Obtain hdc\_std from the **developtools\_hdc\_standard** repository in the **prebuilt** directory. +Obtain **hdc\_std** from the **prebuilt** directory at [developtools\_hdc\_standard](https://gitee.com/openharmony/developtools_hdc_standard). **Example:** @@ -702,5 +702,3 @@ hdc\_std shell - **Solutions** **hdc\_std.exe** requires no installation. It can be directly used on a disk or added to environment variables. Open the cmd window and run the **hdc\_std** command to use **hdc\_std.exe**. - -