English
Language : 

M16C65 Datasheet, PDF (452/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
20.2.10 Real-Time Clock Hour Compare Data Register (RTCCHR)
Real-Time Clock Hour Compare Data Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
RTCCHR
Address
034Ah
Bit Symbol
Bit Name
HCMP00
Function
After Reset
X000 0000b
Setting
Range
RW
RW
HCMP01
HCMP02
1st digit of hour compare data
bit
Store compare data
RW
0 to 9
RW
HCMP03
RW
HCMP10
HCMP11
2nd digit of hour compare data
bit
Store compare data
RW
0 to 2
RW
PMCMP A.m./p.m. compare bit
0 : a.m.
1 : p.m.
RW
—
(b7)
No register bit. If necessary, set to 0. Read as undefined value
—
The RTCCHR register is enabled when bits RTCCMP1 to RTCCMP0 in the RTCCR2 register are 01b,
10b, or 11b (any compare mode).
HCMP03-HCMP00 (1st Digit of Hour Compare Data Bit) (b3-b0)
HCMP11-HCMP10 (2nd Digit of Hour Compare Data Bit) (b5-b4)
When the H12H24 bit in the RTCCR1 register is 0 (12-hour mode), set a value between 00 and 11 by
the BCD codes. When the H12H24 bit in the RTCCR1 register is 1 (24-hour mode), set a value
between 00 and 23 by the BCD codes.
Write to these bits when the BSY bit in the RTCSEC register is 0 (not while data is updated).
PMCMP (A.M./P.M Compare Bit) (b6)
This bit is enabled both when the H12H24 bit in the RTCCR1 register is 0 (12-hour mode) or 1 (24-hour
mode). When the H12H24 bit is 1, set as follows.
• When bits HCMP11 to HCMP10 and HCMP03 to HCMP00 are 00 to 11, set the PMCMP bit to 0.
• When bits HCMP11 to HCMP10 and HCMP03 to HCMP00 are 12 to 23, set the PMCMP bit to 1.
Write to these bits when the BSY bit in the RTCSEC register is 0 (not while data is updated).
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 417 of 791