R8C/38T-A Group
7. Voltage Detection Circuit
Under development Preliminary document
Specifications in this document are tentative and subject to change.
R01UH0241EJ0010 Rev.0.10
Page 61 of 730
Aug 05, 2011
Figure 7.3
Voltage Monitor 1 Interrupt Generation Circuit Block Diagram
Figure 7.4
Voltage Monitor 2 Interrupt Generation Circuit Block Diagram
+
-
1/2
Voltage detection 1 circuit
VCA26
VW1C3
Voltage
detection 1
signal
(1)
fLOCO
VW1F1 and VW1F0
= 00b
= 01b
= 10b
= 11b
VW1C2
(2)
IRQ1SEL
Maskable
interrupt signal
Voltage monitor 1 interrupt generation circuit
VD1S0 to
VD1S3
VCC
VW1C1 = 0
VW1C1 = 1
Digital
filter
Edge
selection
circuit
VW1C0
VCAC1
VW1C7
Internal reference voltage
Level
selection
Non-maskable
interrupt signal
Voltage monitor 1
interrupt signal
Watchdog timer
interrupt signal
VW1C0 to VW1C3, VW1F0 to VW1F1, VW1C7: Bits in VW1C register
VCA26: Bit in VCA2 register
VD1S1 to VD1S3: Bits in VD1LS register
IRQ1SEL: Bit in COMPA register
VCAC1: Bit in VCAC register
Notes:
1. When the VCA26 bit is 0 (disabled), the voltage detection 1 signal will be high.
2. The VW1C2 bit is set to 0 by writing 0 (not detected) by a program. When the VCA26 bit is 0 (voltage detection 1 circuit disabled), the VW1C2 bit will be 0.
1/2
VW2C3
Voltage
detection 2
signal
(1)
fLOCO
VW2F1 and VW2F0
= 00b
= 01b
= 10b
= 11b
VW2C2
(2)
IRQ2SEL
Maskable
interrupt signal
Non-maskable
interrupt signal
Voltage monitor 2
interrupt signal
Watchdog timer
interrupt signal
Voltage monitor 2 interrupt generation circuit
VW2C1 = 0
VW2C1 = 1
Digital
filter
Edge
selection
circuit
VW2C0
VCAC2
VW2C7
+
-
VCA27
VCC
Internal reference voltage
Level
selection
Voltage detection 2 circuit
VW2C0 to VW2C3, VW2F0, VW2F1, VW2C7: Bits in VW2C register
VCA27: Bit in VCA2 register
IRQ2SEL: Bit in CMPA register
VCAC2: Bit in VCAC register
Notes:
1. When the VCA27 bit is 0 (disabled), the voltage detection 2 signal will be high.
2. The VW2C2 bit is set to 0 by Writing 0 (not detected) by a program. When the VCA27 bit is 0 (voltage detection 2 circuit disabled), the VW2C2 bit will be 0.