R01UH0092EJ0110 Rev.1.10
Page 379 of 807
Jul 31, 2012
M16C/64C Group
20. Real-Time Clock
20.2.7
Real-Time Clock Count Source Select Register (RTCCSR)
When bits RCS1 to RCS0 are 10b (fC), set bits RCS4 to RCS2 to 000b.
When bits RCS1 to RCS0 are 00b (f1), select a frequency matched to f1 by bits RCS4 to RCS2.
Write to the RTCCSR register when both bits TSTART and TCSTF in the RTCCR1 register are 0 (count
stopped).
When using fC, set the PM25 bit in the PM2 register to 1 (peripheral clock fC provided). Refer to 8.
“Clock Generator” for details on fC.
b7
0
b6 b5 b4
b1
b2
b3
Real-Time Clock Count Source Select Register
Symbol
RTCCSR
Address
0346h
Bit Symbol
RW
Reset Value
XXX0 0000b
b0
—
(b7)
RCS0
RCS1
RW
RW
Bit Name
—
(b6-b5)
—
RW
Function
No register bits. If necessary, set to 0. The read value is undefined.
Reserved bit
Set to 0
Count source select bit
b1 b0
0 0 : f1
0 1 : Do not set
1 0 : fC
1 1 : Do not set
RCS2
RCS3
RW
RW
RCS4
RW
Count source frequency select
bit
b4 b3 b2
0 0 0 : f1 = fC or 4 MHz
0 0 1 : f1 = 6 MHz
0 1 0 : f1 = 8 MHz
0 1 1 : f1 = 16 MHz
1 0 0 : f1 = 20 MHz
1 0 1 : f1 = 24 MHz
1 1 1 : Do not set
Do not set
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...