diff --git a/en/device-dev/driver/driver-platform-rtc-develop.md b/en/device-dev/driver/driver-platform-rtc-develop.md index 4041f5453d852dfdc28f63928414e0e47f5a878d..7be78974d7afc3e3da9c48e7bfb9f3f299e9a6e9 100644 --- a/en/device-dev/driver/driver-platform-rtc-develop.md +++ b/en/device-dev/driver/driver-platform-rtc-develop.md @@ -200,7 +200,7 @@ struct RtcMethod {

HDF_STATUS

-

Configure the RTC register based on the register index. One index corresponds to one byte of the configuration value.

+

Configures the RTC register based on the register index. One index corresponds to one byte of the configuration value.

@@ -287,11 +287,11 @@ The following uses **rtc\_hi35xx.c** as an example to present the contents tha uint32_t spiBaseAddr; // Used for address mapping volatile void *remapBaseAddr; // Used for address mapping uint16_t regAddrLength; // Used for address mapping - uint8_t supportAnaCtrl; // Indicates whether anaCtrl is supported. + uint8_t supportAnaCtrl; // Indicates whether ANACTRL is supported. uint8_t supportLock; // Indicates whether lock is supported. uint8_t irq; // Interrupt number uint8_t alarmIndex; // Clock alarm index - uint8_t anaCtrlAddr; // anaCtrl address + uint8_t anaCtrlAddr; // ANACTRL address struct RtcLockAddr lockAddr; // Lock address RtcAlarmCallback cb; // Callback struct OsalMutex mutex; // Mutex @@ -425,7 +425,7 @@ The following uses **rtc\_hi35xx.c** as an example to present the contents tha if (HiRtcSwInit(rtcInfo)! = 0) {// Related to address mapping and interrupt registration ... } - if (HiRtcHwInit(rtcInfo)! = 0) {// Initialize anaCtrl and lockAddr. + if (HiRtcHwInit(rtcInfo)! = 0) {// Initialize ANACTRL and lockAddr. ... }