R01UH0136EJ0210 Rev.2.10
Page 79 of 800
Jul 31, 2012
M16C/64A Group
7. Voltage Detector
7.4.4
Voltage Detector 2
When the VW12E bit in the VWCE register is 1 (voltage monitors 1 and 2 enabled) and the VC27 bit in
the VCR2 register is 1 (voltage detector 2 enabled), voltage detector 2 monitors the voltage applied to
the VCC1 pin and detects whether the voltage rises through or falls through Vdet2.
Figure 7.7
Voltage Monitor 2 Interrupt/Reset Generator
7.4.4.1
Monitoring Vdet2
Set the VW12E bit in the VWCE register to 1 (voltage monitors 1 and 2 enabled) and the VC27 bit in
the VCR2 register to 1 (voltage detector 2 enabled). Vdet2 can be monitored using the VC13 bit in
the VCR1 register after td(E-A) elapses.
+
-
1/2
1/2
1/2
Voltage detector 2
VC27
Internal reference
voltage
VC13
The voltage detector 2 signal
becomes high when the VC27
bit is set to 0 (disabled).
Voltage
detector
2 signal
fOCO-S
VW2F1 to VW2F0
00b
01b
10b
11b
VW2C2
VW2C0
VW2C6
Voltage monitor 2 reset signal
Non-maskable
interrupt signal
Voltage monitor
2 interrupt signal
Watchdog timer
interrupt signal
Oscillator stop detect
interrupt signal
Voltage monitor 2 interrupt/reset generator
VW2C0 to VW2C2, VW2F0 to VW2F1, VW2C6 to VW2C7: Bits in the VW2C register
VC13 : Bit in the VCR1 register
VC27 : Bit in the VCR2 register
VW2C7
VW2C1
Digital
filter
Voltage monitor
1 interrupt signal
0
1
VCC1
Level
converter
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...