R01UH0136EJ0210 Rev.2.10
Page 76 of 800
Jul 31, 2012
M16C/64A Group
7. Voltage Detector
7.4.3
Voltage Detector 1
When the VW12E bit in the VWCE register is 1 (voltage monitors 1 and 2 enabled) and the VC26 bit in
the VCR2 register is 1 (voltage detector 1 enabled), voltage detector 1 monitors the voltage applied to
the VCC1 pin and detects whether the voltage rises through or falls through Vdet1.
Figure 7.5
Voltage Monitor 1 Interrupt/Reset Generator
7.4.3.1
Monitoring Vdet1
Set the VW12E bit in the VWCE register to 1 (voltage monitors 1 and 2 enabled) and the VC26 bit in
the VCR2 register to 1 (voltage detector 1 enabled). Vdet1 can be monitored by using the VW1C3 bit
in the VW1C register after td(E-A) elapses.
+
-
1/2
1/2
1/2
Voltage detector 1
VC26
VCC1
Internal reference
voltage
VW1C3
The voltage detector 1 signal
becomes high when the VC26 bit is
set to 0 (disabled).
Voltage
detector
1 signal
fOCO-S
VW1F1 and VW1F0
00b
01b
10b
11b
VW1C2
VW1C7
VW1C0
Voltage monitor 1 reset signal
Non-maskable
interrupt signal
Voltage monitor
1 interrupt signal
Watchdog timer
interrupt signal
Oscillator stop detect
interrupt signal
Voltage monitor 1 interrupt/reset generator
VW1C1
VW1C1
Digital
filter
VW1C6
Voltage monitor
2 interrupt signal
0
1
VW1C0 to VW1C3, VW1F0 to VW1F1, VW1C6 to VW1C7: Bits in the VW1C register
VC26: Bit in the VCR2 register
VD1LS3 to VD1LS0: Bit in the VD1LS register
VD1LS3 to
VD1LS0
level selector
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...