Voltage Detector Operation Enable Register (Vcr2) - Renesas M16C/64C User Manual

Table of Contents

Advertisement

M16C/64C Group
7.2.2

Voltage Detector Operation Enable Register (VCR2)

Voltage Detector Operation Enable Register
b7
b6 b5 b4
b3
b2
b1
0
0
0
Notes:
1. This is the reset value when the LVDAS bit of address OFS1 is 1 during hardware reset
2. This is the reset value after voltage monitor 0 reset, power-on reset, and when the LVDAS bit of address
OFS1 is 0 during hardware reset.
Set the PRC3 bit in the PRCR register to 1 (write enabled) before rewriting this register.
This register does not change at voltage monitor 1 reset, voltage monitor 2 reset, oscillator stop detect
reset, watchdog timer reset, or software reset.
VC25 (Voltage detector 0 enable bit) (b5)
To use voltage monitor 0 reset, set the VC25 bit to 1 (voltage detector 0 enabled). After changing the
VC25 bit to 1, the detector starts operating when the td(E-A) elapses.
VC26 (Voltage detector 1 enable bit) (b6)
Voltage detector 1 is enabled when the VW12E bit in the VWCE register is 1 (voltage monitors 1 and 2
enabled) and the VC26 bit is 1 (voltage detector 1 enabled). Set bits VW12E and VC26 to 1 under the
following conditions:
When using voltage monitor 1 interrupt/reset
When using bits VW1C2 and VW1C3 in the VW1C register
After changing this bit from 0 to 1, the detector will start operating after td(E-A) elapses.
VC27 (Voltage detector 2 enable bit) (b7)
Voltage detector 2 is enabled when the VW12E bit in the VWCE register is set to 1 (voltage monitors 1
and 2 enabled) and the VC27 bit is 1 (voltage detector 2 enabled). Set bits VW12E and VC27 to 1
under the following conditions:
When using voltage monitor 2 interrupt/reset
When using the VC13 bit in the VCR1 register
When using the VW2C2 bit in the VW2C register
After changing this bit from 0 to 1, the detector will start operating after td(E-A) elapses.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
b0
0
Symbol
Address
VCR2
Bit Symbol
Bit Name
Reserved bits
(b3-b0)
Reserved bits
(b4)
Voltage detector 0 enable bit
VC25
Voltage detector 1 enable bit
VC26
Voltage detector 2 enable bit
VC27
001Ah
Set to 0
Set to 0
0 : Voltage detector 0 disabled
1 : Voltage detector 0 enabled
0 : Voltage detector 1 disabled
1 : Voltage detector 1 enabled
0 : Voltage detector 2 disabled
1 : Voltage detector 2 enabled
7. Voltage Detector
Reset Value
(1)
0000 0000b
(2)
0010 0000b
Function
Page 64 of 807
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents