English
Language : 

R8C29 Datasheet, PDF (116/471 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MCU R8C FAMILY / R8C/2x SERIES
R8C/28 Group, R8C/29 Group
10. Clock Generation Circuit
Interrupt sources judgement
OCD3 = 1 ?
NO
(XIN clock stopped)
YES
OCD1 = 1
(oscillation stop detection
interrupt enabled) and OCD2 = 1 NO
(on-chip oscillator clock selected
as system clock) ?
YES
VW2C3 = 1 ?
(Watchdog timer
NO
underflow)
YES
VW2C2 = 1 ?
NO
(passing Vdet2)
Set OCD1 bit to 0 (oscillation stop
detection interrupt disabled).(1)
YES
To oscillation stop detection
interrupt routine
To watchdog timer
interrupt routine
NOTE:
1. This disables multiple oscillation stop detection interrupts.
OCD1 to OCD3: Bits in OCD register
VW2C2, VW2C3: Bits in VW2C register
To voltage monitor 2
interrupt routine
To voltage monitor 1
interrupt routine
Figure 10.19 Example of Determining Interrupt Source for Oscillation Stop Detection, Watchdog
Timer, Voltage Monitor 1, or Voltage Monitor 2 Interrupt (N, D Version)
Rev.2.10 Sep 26, 2008 Page 99 of 441
REJ09B0279-0210