Download Print this page

Renesas M16C/50 Series User Manual page 231

Advertisement

M16C/5L Group, M16C/56 Group
12.12 Non-Maskable Interrupt Source Discrimination
The watchdog timer interrupt, oscillator stop/restart detect interrupt, and voltage monitor 2 interrupt share
the same interrupt vector. When using some functions together, read the detect flags of the events in an
interrupt processing program, and determine the source of the interrupt. Table 12.13 lists Bits Used for
Non-Maskable Interrupt Source Discrimination.
Table 12.13
Bits Used for Non-Maskable Interrupt Source Discrimination
Interrupt
Watchdog timer
Oscillator stop/restart
detect
Voltage monitor 2
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
VW2C3 bit in the VW2C register
(watchdog timer underflow detected)
CM22 bit in the CM2 register
(oscillator stop/restart detected)
VW2C2 bit in the VW2C register (Vdet2 passage detected)
Detect Flag
Bit Position
12. Interrupts
Function
0: Not detected
1: Detected
Page 194 of 803

Advertisement

loading