|
R8C14 Datasheet, PDF (54/277 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / R8C/Tiny SERIES | |||
|
◁ |
R8C/14 Group, R8C/15 Group
9. Clock Generation Circuit
Oscillation Stop Detection Register(1)
b7 b6 b5 b4 b3 b2 b1 b0
0000
Symbol
Address
After Reset
OCD
000Ch
04h
Bit Symbol
Bit Name
Function
RW
Oscillation Stop Detection
b1 b0
OCD0 Enable Bit
0 0 : Oscillation stop detection function
RW
disabled
0 1 : Do not set
OCD1
1 0 : Do not set
1 1 : Oscillation stop detection function
RW
enabled(4,7)
System Clock Select Bit(6)
0 : Selects main clock(7)
OCD2
1 : Selects on-chip oscillator clock(2)
RW
Clock Monitor Bit(3,5)
0 : Main clock oscillates
OCD3
1 : Main clock stops
RO
â
Reserved Bit
Set to â0â
(b7-b4)
RW
NOTES :
1. Set the PRC0 bit in the PRCR register to â1â (w rite enable) before rew riting to this register.
2. The OCD2 bit is automatically set to â1â (selects on-chip oscillator clock) if a main clock oscillation stop is detected
w hile the OCD1 to OCD0 bits are set to â11bâ (oscillation stop detection function enabled). If the OCD3 bit is set to â1â
(main clock stops), the OCD2 bit remains unchanged w hen w riting â0â (selects main
clock).
3. The OCD3 bit is enabled w hen the OCD1 to OCD0 bits are set to â11bâ.
4. Set the OCD1 to OCD0 bits to â00bâ (oscillation stop detection function disabled) before entering stop and on-chip
oscillator mode (main clock stops).
5. The OCD3 bit remains â0â (main clock oscillates) if the OCD1 to OCD0 bits are set to â00bâ.
6. The CM14 bit is set to â0â (low -speed on-chip oscillator on) if the OCD2 bit is set to â1â (selects on-chip oscillator
clock).
7. Refer to Figure 9.9 Procedure of Sw itching Clock Source From Low -Speed On-Chip Oscillator to Main
Clock for the sw itching procedure w hen the main clock re-oscillates after detecting an oscillation stop.
Figure 9.4 OCD Register
Rev.2.10 Jan 19, 2006 Page 42 of 253
REJ09B0164-0210
|
▷ |