
R8C/36T-A Group
7. Voltage Detection Circuit
Under development Preliminary document
Specifications in this document are tentative and subject to change.
R01UH0240EJ0010 Rev.0.10
Page 60 of 728
Aug 05, 2011
7.2.2
Voltage Monitor Circuit Edge Select Register (VCAC)
Notes:
1. When the VCAC1 bit is set tot 0 (one edge), the VW1C7 bit in the VW1C register is enabled. Set the VW1C7 bit
after setting the VCAC1 bit to 0.
2. When the VCAC2 bit is set tot 0 (one edge), the VW2C7 bit in the VW2C register is enabled. Set the VW2C7 bit
after setting the VCAC2 bit to 0.
7.2.3
Voltage Detection Register 2 (VCA2)
Notes:
1. To use the voltage monitor 0 reset, set the VCA25 bit to 1.
2. To use the voltage detection 1 interrupt or the VW1C3 bit in the VW1C register, set the VCA26 bit to 1.
After the VCA26 bit is set from 0 to 1 and td(E-A) has elapsed, the voltage detection 1 circuit operates.
3. To use the voltage detection 2 interrupt or the VW2C3 bit in the VW2C register, set the VCA27 bit to 1.
After the VCA27 bit is set from 0 to 1 and td(E-A) has elapsed, the voltage detection 2 circuit operates. Set the
PRC3 bit in the PRCR register to 1 (write enabled) before rewriting the VCA2 register.
Set the PRC3 bit in the PRCR register to 1 (write enabled) before rewriting the VCA2 register.
Address 00031h
Bit
b7b6
b5b4b3
b2b1b0
Symbol
—
VCAC2
VCAC1
—
After Reset
0
000
0000
Bit
Symbol
Bit Name
Function
R/W
b0
—
Nothing is assigned. The write value must be 0. The read value is 0.
—
b1
VCAC1
Voltage monitor 1 circuit edge select bit (1)
0: One edge
1: Both edges
R/W
b2
VCAC2
Voltage monitor 2 circuit edge select bit (2)
R/W
b3
—
Nothing is assigned. The write value must be 0. The read value is 0.
—
b4
—
b5
—
b6
—
b7
—
Address 00034h
Bit
b7
b6b5b4
b3b2b1
b0
Symbol
VCA27
VCA26
VCA25
—
After Reset
000
00
The above applies when the LVDAS bit in the OFS register is 1.
After Reset
001
000
00
The above applies when the LVDAS bit in the OFS register is 0.
Bit
Symbol
Bit Name
Function
R/W
b0
—
Reserved
Set to 0.
R/W
b1
—
b2
—
b3
—
b4
—
b5
VCA25
Voltage detection 0 enable bit (1)
0: Voltage detection 0 circuit disabled
1: Voltage detection 0 circuit enabled
R/W
b6
VCA26
Voltage detection 1 enable bit (2)
0: Voltage detection 1 circuit disabled
1: Voltage detection 1 circuit enabled
R/W
b7
VCA27
Voltage detection 2 enable bit (3)
0: Voltage detection 2 circuit disabled
1: Voltage detection 2 circuit enabled
R/W