UPD78F0138 NEC, UPD78F0138 Datasheet - Page 371
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: 371 of 558
- Download datasheet (5Mb)
17.4 Interrupt Servicing Operations
17.4.1 Maskable interrupt acknowledgement
corresponding to that interrupt request is cleared to 0. A vectored interrupt request is acknowledged if interrupts are
in the interrupt enabled state (when the IE flag is set to 1).
acknowledged during servicing of a higher priority interrupt request (when the ISP flag is reset to 0). The times from
generation of a maskable interrupt request until interrupt servicing is performed are listed in Table 17-4 below.
specified in the priority specification flag is acknowledged first. If two or more interrupts requests have the same
priority level, the request with the highest default priority is acknowledged first.
PC, the IE flag is reset (0), and the contents of the priority specification flag corresponding to the acknowledged
interrupt are transferred to the ISP flag. The vector table data determined for each interrupt request is the loaded into
the PC and branched.
A maskable interrupt becomes acknowledgeable when the interrupt request flag is set to 1 and the mask (MK) flag
For the interrupt request acknowledgement timing, see Figures 17-8 and 17-9.
Note If an interrupt request is generated just before a divide instruction, the wait time becomes longer.
Remark 1 clock: 1/f
If two or more maskable interrupt requests are generated simultaneously, the request with a higher priority level
An interrupt request that is held pending is acknowledged when it becomes acknowledgeable.
Figure 17-7 shows the interrupt request acknowledgement algorithm.
If a maskable interrupt request is acknowledged, the contents are saved into the stacks in the order of PSW, then
Restoring from an interrupt is possible by using the RETI instruction.
Table 17-4. Time from Generation of Maskable Interrupt Until Servicing
When ××PR = 0
When ××PR = 1
CPU
(f
CPU
: CPU clock)
CHAPTER 17 INTERRUPT FUNCTIONS
User’s Manual U16228EJ2V0UD
7 clocks
8 clocks
Minimum Time
However, a low-priority interrupt request is not
32 clocks
33 clocks
Maximum Time
Note
371
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: