diff --git a/en/device-dev/driver/driver-platform-rtc-des.md b/en/device-dev/driver/driver-platform-rtc-des.md index 5757c5ceb7d630351d5fb37945bc3fe690257161..c7e2eb20bca3a806293f105669a9ce49ab6fe19a 100644 --- a/en/device-dev/driver/driver-platform-rtc-des.md +++ b/en/device-dev/driver/driver-platform-rtc-des.md @@ -10,9 +10,9 @@ The real-time clock (RTC) provides precise real time for the operating system (O **Table 1** RTC APIs -| Category| Description| +| Category| Description| | -------- | -------- | -| RTC handle| **RtcOpen**: Opens the RTC device to obtain its handle.
**RtcClose**: Closes the RTC device handle.| +| RTC handle| **RtcOpen**: opens the RTC device to obtain its handle.
**RtcClose**: closes the RTC device handle.| | RTC time| **RtcReadTime**: reads the RTC time information, which includes the year, month, day, day of week, hour, minute, second, and millisecond.
**RtcWriteTime**: writes the RTC time, including the year, month, day, day of week, hour, minute, second, and millisecond.| | RTC alarm| **RtcReadAlarm**: reads the RTC alarm time.
**RtcWriteAlarm**: writes the RTC alarm time.
**RtcRegisterAlarmCallback**: registers a callback to be invoked when an alarm is not generated at the specified time.
**RtcAlarmInterruptEnable**: enables or disables interrupts for an RTC alarm.| | RTC configuration| **RtcGetFreq**: obtains the frequency of the external crystal oscillator connected to the RTC driver.
**RtcSetFreq**: sets the frequency of the external crystal oscillator connected to the RTC driver.
**RtcReset**: resets the RTC.|