Real-Time Clock Count Source Select Register (Rtccsr) - Renesas M16C/64C User Manual

Table of Contents

Advertisement

M16C/64C Group
20.2.7

Real-Time Clock Count Source Select Register (RTCCSR)

Real-Time Clock Count Source Select Register
b7
b6 b5 b4
b3
b2
b1
0
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.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Symbol
b0
RTCCSR
Bit Symbol
Bit Name
RCS0
Count source select bit
RCS1
RCS2
Count source frequency select
RCS3
bit
RCS4
No register bits. If necessary, set to 0. The read value is undefined.
(b6-b5)
Reserved bit
(b7)
Address
0346h
Function
b1 b0
0 0 : f1
0 1 : Do not set
1 0 : fC
1 1 : Do not set
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
Do not set
1
1
1 : Do not set
Set to 0
20. Real-Time Clock
Reset Value
XXX0 0000b
RW
RW
RW
RW
RW
RW
RW
Page 379 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents