upd75238 Renesas Electronics Corporation., upd75238 Datasheet - Page 140

no-image

upd75238

Manufacturer Part Number
upd75238
Description
4 Bit Single-chip Microcomputer
Manufacturer
Renesas Electronics Corporation.
Datasheet
140
(2) Multiple interrupt processing by changing the interrupt status flags
As shown in Table 5-3, changing the interrupt status flags with the program causes multiple interrupts
to be enabled. That is, when the interrupt processing program changes both IST1 and IST0 to 0 (status
0), multiple interrupt processing is enabled.
This method is used when two or more interrupts are to be enabled at a time or when the processing of
three or more interrupts is to be performed.
When changing IST1 and IST0, interrupts must be disabled beforehand with a DI instruction.
Interrupt is disabled.
Low- or high-order
interrupt occurrence
Interrupt is enabled.
Fig. 5-7 Multiple Interrupt Processing by Changing the Interrupt Status Flags
IPS setting
Normal processing
(status 0)
Low- or high-order
interrupt occurrence
Modification
of IST
Interrupt is
enabled.
Interrupt is
disabled.
Single interrupt
Status 1
Status 0
Status 0
High-order
interrupt
occurrence
Dual interrupts
Status 1
Triple interrupts
Status 2
PD75238

Related parts for upd75238