Under development
Preliminary specification
Specifications in this manual are tentative and subject to change.
R8C/L35A Group, R8C/L36A Group, R8C/L38A Group, R8C/L3AA Group,
R8C/L35B Group, R8C/L36B Group, R8C/L38B Group, R8C/L3AB Group
6. Voltage Detection Circuit
6.2.8
Voltage Monitor 2 Circuit Control Register (VW2C)
b6
0
b5
0
b4
0
b3
0
b2
0
b1
1
b0
0
R/W
R/W
R/W
Address 003Ah
Bit
b7
Symbol VW2C7
After Reset
1
Bit
b0
b1
b2
b3
b4
b5
b6
b7
Symbol
Bit Name
Function
VW2C0 Voltage monitor 2 interrupt enable bit
0: Disabled
1: Enabled
VW2C1 Voltage monitor 2 digital filter
0: Digital filter enable mode
(digital filter circuit enabled)
disable mode select bit
1: Digital filter disable mode
(digital filter circuit disabled)
VW2C2 Voltage change detection flag
0: Not detected
1: Vdet2 passing detected
VW2C3 WDT detection monitor flag
0: Not detected
1: Detected
b5 b4
VW2F0 Sampling clock select bit
0 0: fOCO-S divided by 1
VW2F1
0 1: fOCO-S divided by 2
1 0: fOCO-S divided by 4
1 1: fOCO-S divided by 8
—
Reserved bit
Set to 0.
VW2C7 Voltage monitor 2 interrupt
0: When VCC or LVCMP2 reaches Vdet2
or above.
generation condition select bit
1: When VCC or LVCMP2 reaches Vdet2
or below.
R/W
R/W
R/W
R/W
R/W
R/W
Notes:
1. The VW2C0 is enabled when the VCA27 bit in the VCA2 register is set to 1 (voltage detection 2 circuit enabled).
Set the VW2C0 bit to 0 (disabled) when the VCA27 bit is set to 0 (voltage detection 2 circuit disabled).
To set the VW2C0 bit to 1 (enabled), follow the procedure shown in
2. To use the voltage monitor 2 interrupt to exit stop mode and to return again, write 0 and then 1 to the VW2C1 bit.
3. The VW2C2 bit is enabled when the VCA27 bit in the VCA2 register is set to 1 (voltage detection 2 circuit
enabled).
4. Set this bit to 0 by a program. When 0 is written by a program, this bit is set to 0 (and remains unchanged even if
1 is written to it).
5. The VW2C7 bit is enabled when the VCAC2 bit in the VCAC register is set to 0 (one edge). After setting the
VCAC2 bit to 0, set the VW2C7 bit.
Set the PRC3 bit in the PRCR register to 1 (write enabled) before rewriting the VW2C register.
Rewriting the VW2C register may set the VW2C2 bit to 1. After rewriting this register, set the VW2C2 bit to 0.
REJ09B0441-0010 Rev.0.10
Page 70 of 809
Jul 30, 2008