R01UH0136EJ0210 Rev.2.10
Page 225 of 800
Jul 31, 2012
M16C/64A Group
15. Watchdog Timer
15.2
Registers
15.2.1
Voltage Monitor 2 Control Register (VW2C)
Set the PRC3 bit in the PRCR register to 1 (write enabled) before rewriting the VW2C register.
Bits VW2C2 and VW2C3 do not change at voltage monitor 1 reset, voltage monitor 2 reset, oscillator
stop detect reset, watchdog timer reset, or software reset.
When rewriting the VW2C register (excluding the VW2C3 bit), the VW2C2 bit may become 1. Set the
VW2C2 bit to 0 after rewriting the VW2C register.
Table 15.2
Registers
Address
Register
Symbol
Reset Value
Voltage Monitor 2 Control Register
Count Source Protection Mode Register
(1)
Watchdog Timer Refresh Register
Watchdog Timer Control Register
Note:
1.
When the CSPROINI bit in the OFS1 address is 0, the reset value becomes 1000 0000b.
b7 b6 b5 b4
b1
b2
b3
Voltage Monitor 2 Control Register
Symbol
VW2C
Address
002Ch
Bit Symbol
Bit Name
RW
Reset Value
b0
Function
RW
VW2C2
Voltage change detection
flag
0 : Not detected
1 : Vdet2 passage detected
VW2C3
Watchdog timer detection
flag
0 : Not detected
1 : Watchdog timer underflow detected
VW2F0
VW2F1
Voltage monitor 2 mode
select bit
0 : Voltage monitor 2 interrupt at Vdet2 passage
1 : Voltage monitor 2 reset at Vdet2 passage
Sampling clock select bit
b5 b4
0 0 : fOCO-S divided by 1
0 1 : fOCO-S divided by 2
1 0 : fOCO-S divided by 4
1 1 : fOCO-S divided by 8
VW2C6
RW
RW
RW
VW2C0
RW
Voltage monitor 2 interrupt/
reset enable bit
0 : Disabled
1 : Enabled
VW2C1
RW
Voltage monitor 2 digital filter
disable mode select bit
0 : Digital filter enabled
1 : Digital filter disabled
Voltage monitor 2 interrupt/
reset generation condition
select bit
VW2C7
RW
0: When VCC1 reaches or goes above
Vdet2
1: When VCC1 reaches or goes below
Vdet2
1000 0X10b
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...