ML51/ML54/ML56
Sep. 01, 2020
Page
635
of 719
Rev 2.00
ML
51
/ML
54
/ML
5
6 S
E
RI
E
S
TECHNI
CA
L
RE
F
E
R
E
NC
E
M
A
NU
A
L
ML51/M
L54
/M
L56
Series
Tec
hnical Reference
Manual
6.18.3 Block Diagram
The RTC block diagram is shown below.
RTC Time Counter
Control Unit
Time Loading
Register
(RTCTIMEHR)
(RTCTIMEMIN)
(RTCTIMESEC)
Calendar Loading
Register
(RTCCALYEAR)
(RTCCALMON)
(RTCCALDAY)
Time Alarm
Register
(RTCTALMHR)
(RTCTALMMIN)
(RTCTALMSEC)
Calendar Alarm
Register
(RTCCALMYEAR)
(RTCCALMMON)
(RTCCALMDAY)
1/128 change
1/64 change
1/32 change
1/16 change
1/8 change
1/4 change
1/2 change
1 change
(sec)
111
110
101
100
011
010
001
000
TICK (RTCTICK[2:0])
TICKIF (RTCINTSTS[1])
TICKIEN (RTCINTEN[1])
Compare
Operation
ALMIEN (RTCINTEN[0])
Alarm Interrupt
RTC_CLK
Frequency
Compensation
Frequency
Compensation Register
(RTCFREQADJ)
RWEN
WEEKDAY
LEAPYEAR
24H/12H
ALMIF (RTCINTSTS[0])
Wakeup CPU from
Power-down mode
Tick Interrupt
Time Alarm Mask
Register
(RTCTAMSK)
Calendar Alarm Mask
Register
(RTCCAMSK)
LIRC38.4K
0
1
C32KS (RTCCLKSEL[0])
LXT32.768K
INIT
RTCINIT
RTCRWEN
RTCLEAPYEAR
RTCCLKFMT
RTCWEEKDAY
Figure 6.18-1 RTC Block Diagram