R01UH0136EJ0210 Rev.2.10
Page 367 of 800
Jul 31, 2012
M16C/64A Group
20. Real-Time Clock
Figure 20.1
Real-Time Clock Block Diagram
Table 20.2
I/O Port
Pin Name
I/O
Function
RTCOUT
Output
Compare output
RTCWK
RTCHR
RTCMIN
RTCSEC
MNIE
HRIE
WKIE
000b
DYIE
SEIE
RTC periodic interrupt
(IR bit in RTCTIC
register)
1 sec generator
Overflow
Overflow
Overflow
Match
RTCCMP0
RTCCMP1
RCS1, RCS0
fC
TCSTF, TOENA, RTCPM, H12H24, TSTART: Bits in the RTCCR1 register
SEIE, MNIE, HRIE, DYIE, WKIE, RTCCMP0, RTCCMP1: Bits in the RTCCR2 register
RCS4 to RCS0: Bits in the RTCCSR register
BSY: Bit in the RTCSEC register
PMCMP: Bit in the RTCCHR register
RTCWK: Bits WK2 to WK0 in the RTCWK register
RTCHR: Bits HR11 to HR10 and HR03 to HR00 in the RTCHR register
RTCMIN: Bits MN12 to MN10 and MN03 to MN00 in the RTCMIN register
RTCSEC: Bits SC12 to SC10 and SC03 to SC00 in the RTCSEC register
RTCCHR: Bits HCMP11 to HCMP10 and HCMP03 to HCMP00 in the RTCCHR register
RTCCMIN: Bits MCMP12 to MCMP10 and MCMP03 to MCMP00 in the RTCCMIN register
RTCCSEC: Bits SCMP12 to SCMP10 and SCMP03 to SCMP00 in the RTCCSEC register
f1
10b
Comparator
Comparator
Comparator
RTCCSEC
RTCCMIN
RTCCHR
Match
Match
RTC compare interrupt
(IR bit in RTCCIC
register)
TOENA
RTCOUT pin
BSY
H12H24
RTCPM
R
S Q
TSTART
Write 1
RTCCMP1
Initialize
Control
Circuit
TCSTF
RCS1, RCS0
RCS4 to RCS2
00b
RTCCMP0
RTCCMP1
Comparator
Match
PMCMP
BSY
HRIE
MNIE
SEIE
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...