7.13 Real-Time Clock
Figure 7–59. RTC Clock Diagram
32 kHz
32-kHz
Compensation
counter
Seconds
Minutes
Interrupt
The real time clock (RTC) is an embedded module (see Figure 7–59). Its basic
features are:
-
Time information (seconds/minutes/hours) directly in BCD code
-
Calendar information (day/month/year/day of the week) directly in BCD
code up to year 2099
-
Interrupt generation, periodically (1s/1m/1h/1d period) or at a precise time
of the day (alarm function)
-
30 s time correction
-
Oscillator drift compensation
Hours
Week days
Days
Months
Alarm
MPU Public Peripherals
Real-Time Clock
Control
Years
IRQ_ALARM
NIRQ_ALARM
NIRQ_TIMER
7-169