UPD78F0138 NEC, UPD78F0138 Datasheet - Page 416
UPD78F0138
Manufacturer Part Number
UPD78F0138
Description
(UPD78xxxx) 8-Bit Single-Chip Microcontrollers
Manufacturer
NEC
Datasheet
1.UPD78F0138.pdf
(558 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
UPD78F0138M1GK-9ET
Manufacturer:
NEC
Quantity:
115
Part Number:
UPD78F0138M5GB
Manufacturer:
NEC
Quantity:
20 000
- Current page: 416 of 558
- Download datasheet (5Mb)
23.4 Operation of Low-Voltage Detector
416
The low-voltage detector can be used in the following two modes.
• Used as reset
• Used as interrupt
The operation is set as follows.
(1) When used as reset
Compares the supply voltage (V
V
Compares the supply voltage (V
when V
DD
• When starting operation
<1> Mask the LVI interrupt (LVIMK = 1).
<2> Set the detection voltage using bits 2 to 0 (LVIS2 to LVIS0) of the low-voltage detection level selection
<3> Set bit 4 (LVIE) of the low-voltage detection register (LVIM) to 1 (enables reference voltage generator
<4> Use software to instigate a wait of at least 2 ms.
<5> Set bit 7 (LVION) of LVIM to 1 (enables LVI operation).
<6> Use software to instigate a wait of at least 0.2 ms.
<7> Wait until it is checked that (supply voltage (V
<8> Set bit 1 (LVIMD) of LVIM to 1 (generates internal reset signal when supply voltage (V
Figure 23-4 shows the timing of the internal reset signal generated by the low-voltage detector. The numbers
in this timing chart correspond to <1> to <8> above.
Cautions 1. <1> must always be executed. When LVIMK = 0, an interrupt may occur immediately
• When stopping operation
< V
Either of the following procedures must be executed.
•
•
When using 8-bit memory manipulation instruction:
Write 00H to LVIM.
When using 1-bit memory manipulation instruction:
Clear LVIMD to 0, LVION to 0, and LVIE to 0 in that order.
DD
register (LVIS).
operation).
voltage (V
LVI
.
< V
2. If “POC used” is selected by a mask option, procedures <3> and <4> are not required.
3. If supply voltage (V
LVI
after the processing in <5>.
signal is not generated.
.
LVI
)).
CHAPTER 23 LOW-VOLTAGE DETECTOR
DD
DD
) and detection voltage (V
) and detection voltage (V
DD
) > detection voltage (V
User’s Manual U16228EJ2V0UD
DD
) > detection voltage (V
LVI
LVI
), and generates an internal reset signal when
LVI
), and generates an interrupt signal (INTLVI)
) when LVIM is set to 1, an internal reset
LVI
)) by bit 0 (LVIF) of LVIM.
DD
) < detection
Related parts for UPD78F0138
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
16BIT MCU, 128K FLASH, 8K RAM, SMD
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
8BIT UC, 32K FLASH, 1KB RAM, LCD
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
8BIT MCU, 60K FLASH, 3KB RAM, CAN
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
8BIT MCU, 128K FLASH, 7K RAM, LQFP
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
8BIT MCU, 4K FLASH, 128B RAM, SMD
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
16/8 bit single-chip microcomputer
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual audio power amp circuit
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual comparator
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
MOS type composite field effect transistor
Manufacturer:
NEC
Datasheet: