Download Print this page

Renesas M16C/50 Series User Manual page 123

Advertisement

M16C/5L Group, M16C/56 Group
7.4.3
Voltage Detector 2
When the VW12E bit in the VWCE register is 1 (voltage monitor 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
VCC pin and detects whether the voltage rises through or falls through Vdet2.
Voltage detector 2
VC27
VCC
+
Internal
reference
-
voltage
The voltage detector 2 signal
becomes high level when the
VC27 bit is set to 0 (disabled).
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
Figure 7.5
Voltage Monitor 2 Interrupt/Reset Generator
7.4.3.1
Monitoring Vdet2
Set the VW12E bit in the VWCE register to 1 (voltage monitor 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.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Voltage monitor 2 interrupt/reset generator
1/2
1/2
fOCO-S
VC13
Digital
Voltage
filter
detector
2 signal
VW2C7
VW2F1 to VW2F0
00b
01b
10b
11b
1/2
VW2C1
VW2C2
0
1
VW2C0
VW2C6
7. Voltage Detector
Watchdog timer
interrupt signal
Voltage monitor
Non-maskable
2 interrupt signal
interrupt signal
Oscillation stop/restart
detector interrupt signal
Voltage monitor 2 reset signal
Page 86 of 803

Advertisement

loading