
R8C/10 Group
Rev.1.20 Jan 27, 2006 page 29 of 180
REJ09B0019-0120
Generated Interrupt Factor Bit showing interrupt factor
Oscillation stop detection (a) The OCD3 bit in the OCD register = 1
( (a) or (b) ) (b) The OCD1 to OCD0 bits in the OCD register = 112 and the
OCD2 bit = 1
Figure 6.6
Switching Clock Source From On-Chip Oscillator to Main Clock
Table 6.5
Determination of Interrupt Factor of Oscillation Stop Detection
Switch to Main clock
Verify OCD3 bit
Determine several times
1(main clock stop)
0(main clock oscillating)
Determine several times that the main clock is supplied
Set OCD2 bit to 0
(selecting main clock)
OCD3 to OCD0 bits: Bits in OCD register
End
Set OCD1 to OCD0 bits to 00
2
(oscillation stop detection function disabled)
6.5 Oscillation Stop Detection Function
Komentarze do niniejszej Instrukcji