Download Print this page

Renesas M16C/50 Series User Manual page 118

Advertisement

M16C/5L Group, M16C/56 Group
VW2C2 (Voltage change detection flag) (b2)
The VW2C2 bit is enabled when the VC27 bit in the VCR2 register is 1 (voltage detector 2 enabled).
This bit does not change even if set to 1.
Condition to become 0:
Writing this bit to 0
Condition to become 1:
Refer to the following table.
Table 7.4
Conditions Under Which the VW2C2 Bit Becomes 1
(1)
Bit Setting
VW2C1
VW2C6
0
0
1
1
0
1
VC13 bit: Bit in the VCR1 register
Note:
1.
Only set the values listed above.
VW2C6 (Voltage monitor 2 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
VCC 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 VCC reaches Vdet2 or above, and also when VCC reaches
Vdet2 or below.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Conditions under Which the VW2C2 Bit Becomes 1
VW2C7
0 or 1
The VC13 bit changes from 0 to 1 or from 1 to 0.
1
The VC13 bit changes from 1 to 0.
0
The VC13 bit changes from 0 to 1.
1
The VC13 bit changes from 1 to 0.
1
The VC13 bit changes from 1 to 0.
7. Voltage Detector
Page 81 of 803

Advertisement

loading