Operation - NEC V850ES/KE1+ User Manual

32-bit single-chip microcontrollers
Table of Contents

Advertisement

22.4 Operation

The low-voltage detector can be used in the following two modes.
• Reset operation (LVIRES):
• Interrupt operation (INTLVI):
(1) Reset operation (LVIRES)
<When starting operation>
<1> Mask the INTLVI interrupt (LVIMK bit = 1).
<2> Set the detection voltage (V
<3> Set the LVIM.LVION bit to 1 (enables low-voltage detector operation).
<4> Use software to instigate a wait of at least 0.2 ms.
<5> Confirm that the LVIM.LVIF bit is cleared to 0 (supply voltage (V
When the LVIF bit is set to 1, use software to instigate a wait until the LVIF bit is cleared to 0.
<6> Set the LVIM.LVIMD bit to 1 (generates internal reset signal (LVIRES) when supply voltage (V
detection voltage (V
Caution <1> must always be executed. When the LVIMK bit = 0, an interrupt (INTLVI) may
occur immediately after the processing in <3>.
<When stopping operation>
The low-voltage detection operation cannot be stopped until a reset signal other than LVIRES is generated.
616
CHAPTER 22 LOW-VOLTAGE DETECTOR
Compares the supply voltage (V
reset signal (LVIRES) when V
Compares the supply voltage (V
interrupt request signal (INTLVI) when V
) using the LVIS.LVIS2 to LVIS.LVIS0 bits.
LVI
)).
LVI
User's Manual U16896EJ2V0UD
) and detection voltage (V
DD
< V
.
DD
LVI
) and detection voltage (V
DD
< V
.
DD
LVI
) > detection voltage (V
DD
), and generates a
LVI
), and generates an
LVI
)).
LVI
) <
DD

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents