Download Print this page

Renesas M16C/50 Series User Manual page 113

Advertisement

M16C/5L Group, M16C/56 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
0
Notes:
1. When the LVDAS bit of the OFS1 address is 1 at hardware reset
2. This value shows the value after any of the following resets:
- Voltage monitor 0 reset
- When the LVDAS bit of the OFS1 address is 0 at hardware reset
- Power-on 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 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.
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 monitor 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.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
b0
0
Symbol
Address
VCR2
Bit Symbol
Bit Name
Reserved bits
(b3-b0)
No register bit. If necessary, set to 0. The read value is undefined.
(b4)
VC25
Voltage detector 0 enable bit
Reserved bit
(b6)
VC27
Voltage detector 2 enable bit
001Ah
Set to 0
0 : Disable voltage detector 0
1 : Enable voltage detector 0
Set to 0
0 : Disable voltage detector 2
1 : Enable voltage detector 2
7. Voltage Detector
Reset Value
(1)
000X 0000b
(2)
001X 0000b
Function
Page 76 of 803
RW
RW
RW
RW
RW

Advertisement

loading