RTC HAL Module Guide
The Real-Time Clock (RTC) HAL module is a high-level API for RTC applications and is implemented on r_rtc. The RTC HAL module configures the RTC module and controls clock, calendar, and alarm functions. The RTC uses the real-time clock module on the Synergy MCU. A user-defined callback can be created to respond to any of the three supported interrupt types: alarm, periodic, or carry.
The RTC HAL module defines APIs for opening, closing, setting alarms, starting, and stopping RTC operations. A complete list of the available APIs, an example API call, and a short description of each can be found in the following table. A table of all applicable status return values follows the API summary table.
Features:
The RTC HAL module supports the following functions of the real-time clock:
● RTC peripheral configuration
● RTC time and date get and set
● RTC time and date alarm get and set
● RTC time counter start and stop
● RTC alarm, periodic and carry event notification
● RTC event type enable and disable
● RTC event rate configuration
● RTC clock source get and set
|
|
Application note & Design Guide |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
Mar.20.19 |
|
Rev.1.03 |
|
R11AN0059EU0103 |
|
665 KB |
- +1 Like
- Add to Favorites
Recommend
All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.