R01UH0092EJ0110 Rev.1.10
Page 60 of 807
Jul 31, 2012
M16C/64C Group
7. Voltage Detector
7.
Voltage Detector
7.1
Introduction
The voltage detector monitors the voltage applied to the VCC1 pin. This circuit can be programmed to
monitor the VCC1 input voltage. Voltage monitor 0 reset, voltage monitor 1 interrupt, voltage monitor 1
reset, voltage monitor 2 interrupt, and voltage monitor 2 reset can also be used.
Table 7.1 lists the Voltage Detector Specifications and Figure 7.1 shows Voltage Detector Block Diagram.
Table 7.1
Voltage Detector Specifications
Item
Voltage Detector 0
Voltage Detector 1
Voltage Detector 2
VCC1
monitor
Voltage to monitor
Vdet0
Vdet1
Vdet2
Detection target
Whether rises through or
falls through Vdet0
Whether rises through or
falls through Vdet1
Whether rises through or
falls through Vdet2
Voltage to detect
Selectable from two levels
in the OFS1 address
Selectable from three levels
in the VD1LS register
Fixed level
Monitor
None
VW1C3 bit in the VW1C
register
VC13 bit in the VCR1
register
Whether VCC1 is higher or
lower than Vdet1
Whether VCC1 is higher or
lower than Vdet2
Process
when
voltage is
detected
Reset
Voltage monitor 0 reset
Voltage monitor 1 reset
Voltage monitor 2 reset
Reset when Vdet0 >
VCC1; restart CPU
operation when VCC1 >
Vdet0
Reset when Vdet1 > VCC1;
restart CPU operation after
tps + 60 cycles of fOCO-S
divided by 8
Reset when Vdet2 > VCC1;
restart CPU operation after
tps + 60 cycles of fOCO-S
divided by 8
Interrupt
None
Voltage monitor 1
interrupt
Voltage monitor 2
interrupt
Interrupt request when
Vdet1 > VCC1 and
VCC1 > Vdet1 while
digital filter is enabled;
interrupt request when
Vdet1 > VCC1 or
VCC1 > Vdet1 while
digital filter is disabled
Interrupt request when
Vdet2 > VCC1 and
VCC1 > Vdet2 while
digital filter is enabled;
interrupt request when
Vdet2 > VCC1 or
VCC1 > Vdet2 while
digital filter is disabled
Digital
filter
Switch
enabled/disabled
No digital filter function
Available
Available
Sampling time
−
(fOCO-S divided by n)
× 3
n: 1, 2, 4, 8
(fOCO-S divided by n)
× 3
n: 1, 2, 4, 8
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...