From 5f363a762e5fece9d88020071232e11be00d6f47 Mon Sep 17 00:00:00 2001 From: Annie_wang Date: Wed, 8 Jun 2022 16:39:11 +0800 Subject: [PATCH] update docs Signed-off-by: Annie_wang --- en/device-dev/driver/driver-platform-rtc-des.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/device-dev/driver/driver-platform-rtc-des.md b/en/device-dev/driver/driver-platform-rtc-des.md index 5757c5ceb7..c7e2eb20bc 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.| -- GitLab