Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
314
/
631
Real time clock (RTC)
Introduction
The real-time clock (RTC) is an independent BCD timer/counter
The software supports daylight saving time compensation
Programmable periodic automatic wake-up timer
Two programmable alarm clocks
Two 32-bit registers contain programming alarm clock, hour, minute, second, year, month, day (day), week (day
of the week)
Two independent 32-bit registers contain programming alarm, sub-second
Digital precision calibration function
Reference clock detection: a more accurate external clock source (50 or 60Hz) can be used to improve calendar
accuracy
Three intrusion detection events with configurable filtering and internal pull-ups
Timestamp function
20 backup registers to save data in low power mode
Multiple interrupt/event wake-up sources, including alarm A, alarm B, wake-up timer, timestamp, intrusion
Automatically perform monthly compensation for 28, 29 (leap year), 30 and 31 days
After the Backup domain is reset, all RTC registers are protected against possible accidental write access
As long as the RTC is enabled and the voltage remains within the operating range, the RTC will not stop
regardless of the device state (RUN, LP RUN, LP SLEEP, SLEEP, STOP2 or STANDBY state)
Support to wake up MCU from supporting low power consumption mode (LP RUN mode,SLEEP mode, LP
SLEEP mode, STOP2 mode and STANDBY mode).
Main feature
Main function
Describe
Clock
RTC clock can be selected from LSI, LSE and HSE, which are 40KHz, 32.768KHz and HSE / 32
respectively
Reset
The APB interface is reset by the system, and some registers synchronized by the RTC module
through the APB will be reset
The following registers will be cleared when the system is reset
RTC_SUBS