UPD78F0138 NEC, UPD78F0138 Datasheet - Page 366

no-image

UPD78F0138

Manufacturer Part Number
UPD78F0138
Description
(UPD78xxxx) 8-Bit Single-Chip Microcontrollers
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F0138M1GK-9ET
Manufacturer:
NEC
Quantity:
115
Part Number:
UPD78F0138M5GB
Manufacturer:
NEC
Quantity:
20 000
(1) Interrupt request flag registers (IF0L, IF0H, IF1L, IF1H)
366
The interrupt request flags are set to 1 when the corresponding interrupt request is generated or an instruction is
executed. They are cleared to 0 when an instruction is executed upon acknowledgment of an interrupt request or
upon RESET input.
When an interrupt is acknowledged, the interrupt request flag is automatically cleared and then the interrupt
routine is entered.
IF0L, IF0H, IF1L, and IF1H are set by a 1-bit or 8-bit memory manipulation instruction. When IF0L and IF0H, and
IF1L and IF1H are combined to form 16-bit registers IF0 and IF1, they are read with a 16-bit memory
manipulation instruction.
RESET input clears these registers to 00H.
Notes 1.
Cautions 1. When operating a timer, serial interface, or A/D converter after standby release, operate it
Address: FFE0H After reset: 00H R/W
Symbol
IF0L
Address: FFE1H
Symbol
IF0H
Address: FFE2H
Symbol
IF1L
Address: FFE3H
Symbol
IF1H
2.
2. If an interrupt request corresponding to a flag of the interrupt request flag register is
Figure 17-2. Format of Interrupt Request Flag Registers (IF0L, IF0H, IF1L, IF1H)
Be sure to set bits 4 to 7 of IF1H to 0.
µ
and 780132 to 0.
PD780133, 780134, 78F0134, 780136, 780138, and 78F0138 only. Be sure to set the
TMIF010
once after clearing the interrupt request flag. An interrupt request flag may be set by noise.
generated while the interrupt request flag register is being manipulated (including by 1-bit
memory manipulation), the flag corresponding to the interrupt request may not be set to 1.
SREIF6
XXIFX
PIF7
0
<7>
<7>
<7>
Note 1
7
0
1
After reset: 00H
After reset: 00H
After reset: 00H
No interrupt request signal is generated
Interrupt request is generated, interrupt request status
TMIF000
PIF5
PIF6
0
<6>
<6>
<6>
Note 1
6
CHAPTER 17 INTERRUPT FUNCTIONS
R/W
R/W
R/W
TMIF50
WTIF
PIF4
0
<5>
<5>
<5>
Note 1
User’s Manual U16228EJ2V0UD
5
TMIFH0
KRIF
PIF3
0
<4>
<4>
<4>
Note 1
4
Interrupt request flag
TMIF011
TMIFH1
TMIF51
PIF2
<3>
<3>
<3>
<3>
Note 2
TMIF001
DUALIF0
WTIIF
PIF1
<2>
<2>
<2>
<2>
Note 2
CSIIF11
SRIF0
STIF6
PIF0
<1>
<1>
<1>
<1>
Note 2
DMUIF
SRIF6
LVIIF
ADIF
<0>
<0>
<0>
<0>
µ
PD780131

Related parts for UPD78F0138