English
Language : 

M16C65 Datasheet, PDF (121/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
7. Voltage Detector
VW2C2 (Voltage Change Detection Flag) (b2)
The VW2C2 bit is enabled when the VC27 bit in the VCR2 register is 1 (voltage detection 2 circuit
enabled). The VW2C2 remains unchanged even if 1 is written by a program.
Condition to become 0:
• Writing 0 by a program
Condition to become 1:
Table 7.5 Conditions Under which the VW2C2 Bit Becomes 1
Bit Setting
WV2C1 VW2C6 VW2C7
Conditions under Which the VW2C2 Bit Becomes 1
0
0
0 or 1 The VW1C3 bit changes (from 0 to 1 and from 1 to 0).
1
1
The VW1C3 bit changes from 1 to 0.
1
0
0
The VW1C3 bit changes from 0 to 1.
1
The VW1C3 bit changes from 1 to 0.
1
1
The VW1C3 bit changes from 1 to 0.
Note:
1. Do not set values not listed above.
VW2C6 (Voltage Monitor 2 Circuit Mode Select Bit) (b6)
The VW2C6 bit is enabled when the VW2C0 bit is 1 (voltage monitor 2 interrupt/reset enabled).
VW2C7 (Voltage Monitor 2 Interrupt/Reset Generation Condition Select Bit) (b7)
The voltage monitor 2 interrupt/reset generation condition can be selected by the VW2C7 bit when the
VW2C6 bit is 0 (voltage monitor 2 interrupt at Vdet2 passage) and the VW2C1 bit is 1 (digital filter
disabled).
When the VW2C6 bit is 1 (voltage monitor 2 reset at Vdet2 passage), set the VW2C7 bit to 1 (when
VCC1 reaches Vdet2 or below). (Do not set the VW2C7 bit to 0.)
When the VW2C1 bit is 0 (digital filter enabled), regardless of the VW2C7 bit setting, the voltage
monitor 2 interrupt is generated when VCC1 reaches Vdet2 or above, and also when VCC2 reaches
Vdet1 or below.
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 86 of 791