English
Language : 

M16C65 Datasheet, PDF (457/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
20. Real-Time Clock
RTCPM
Time Data
RTCHR
Compare Compare
PMCMP RTCCHR
Compare Data
(when 0:01:23:45)
0
01
RTCMIN
Compare
RTCCMIN
23
RTCSEC
Compare
RTCCSEC
45
Control by bits
SEIE, MNIE, and
HRIE in RTCCR2
register
Values of RTCPM, RTCHR, RTCMIN, RTCSEC and count operation
Compare value
match request
Compare 1 Mode
:
0 : 01 : 23 : 43
0 : 01 : 23 : 44
0 : 01 : 23 : 45
0 : 01 : 23 : 46
0 : 01 : 23 : 47
:
Continue counting
Compare 2 Mode
:
0 : 01 : 23 : 43
0 : 01 : 23 : 44
0 : 00 : 00 : 00
0 : 00 : 00 : 01
0 : 00 : 00 : 02
:
The value is set back to
the value after reset
and counting continues.
0 : 01 : 23 : 43
Compare 3 Mode
:
0 : 01 : 23 : 43
0 : 01 : 23 : 44
0 : 00 : 00 : 00
0 : 00 : 00 : 00
Time
(change
every second)
0 : 00 : 00 : 00
:
The value is set back to
the value after reset
and counting stops.
Values of RTCPM, RTCHR, RTCMIN, RTCSEC
The above diagram shows an instance in which the following conditions are met:
y The H12H24 bit in the RTCCR1 register is 0 (12-hour mode).
y Bits SEIE, MNIE, and HRIE in the RTCCR2 register are 1.
RTCPM : RTCPM bit in RTCCR1 register
RTCHR : Bits HR11 to HR10 and HR03 to HR00 in RTCHR register
RTCMIN : Bits MN12 to MN10 and MN03 to MN00 in RTCMIN register
RTCSEC : Bits SC12 to SC10 and SC03 to SC00 in RTCSEC register
PMCMP : PMCMP bit in RTCCHR register
RTCCHR : Bits HCMP11 to HCMP10 and HCMP03 to HCMP00 in RTCCHR register
RTCCMIN : Bits MCMP12 to MCMP10 and MCMP03 to MCMP00 in RTCCMIN register
RTCCSEC : Bits SCMP12 to SCMP10 and SCMP03 to SCMP00 in RTCCSEC register
Figure 20.6 Difference between Compare Modes
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 422 of 791