CHAPTER 9 REAL-TIME CLOCK
Page 237 of 920
Figure 9 - 1 Block Diagram of Real-time Clock
Caution
The count of year, month, week, day, hour, minutes and second can only be performed when a subsystem clock
(f
SUB
= 32.768 kHz) is selected as the operation clock of the real-time clock.
When the low-speed oscillation clock (f
IL
= 15 kHz) is selected, only the constant-period interrupt function is
available.
The constant-period interrupt interval when f
IL
is selected will be calculated with the constant-period (the value
selected with RTCC0 register)
×
f
SUB
/f
IL
.
Count enable/
disable circuit
Buffer
Buffer
Buffer
Buffer
Buffer
Second
count
register
(SEC)
(7-bit)
Minute count
register
(MIN)
(7-bit)
Hour count
register
(HOUR)
(6-bit)
Day count
register
(DAY)
(6-bit)
Week count
register
(WEEK)
(3-bit)
Internal bus
INTRTC
0.5
seconds
1 minute
1 hour
1 day
Buffer
Year count
register
(YEAR)
(8-bit)
Buffer
Month count
register
(MONTH)
(5-bit)
1 month
Alarm week
register
(ALARMWW)
(7-bit)
Real-time clock control register 1
Watch error
correction
register
(SUBCUD)
(8-bit)
Internal
counter
(16-bit)
Wait control
RTCE
WUTMMCK0
AMPM
CT0 to CT2
f
RTC
RWAIT
WALE WALIE WAFG
RWAIT
RWST
RIFG
RWST
1 seconds
1 year
Alarm hour
register
(ALARMWH)
(6-bit)
Alarm minute
register
(ALARMWM)
(7-bit)
RTCE AMPM
CT2
CT1
CT0
Real-time clock control register 0
WUTMM
CK0
Subsystem clock supply mode
control register (OSMC)
Se
lec
tor
Sel
e
ct
o
r
f
SUB
f
IL
Matched
RIFG
Summary of Contents for RL78/G1H
Page 941: ...R01UH0575EJ0120 RL78 G1H...