255
CHAPTER 19 INTERRUPT FUNCTIONS
Preliminary User’s Manual U14581EJ3V0UM00
19.4.2 Maskable interrupt request acknowledge operation
A maskable interrupt request becomes acknowledgeable when an interrupt request flag is set to 1 and the mask
(MK) flag corresponding to that interrupt is cleared to 0. A vectored interrupt request is acknowledged if in the interrupt
enable state (when IE flag is set to 1). However, a low-priority interrupt request is not 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
19-3 below.
For the interrupt request acknowledge timing, see the Figures 19-12 and 19-13.
Table 19-3. Times from Generation of Maskable Interrupt Request until Servicing
Minimum Time
Maximum Time
Note
When
××
PR
×
= 0
7 clocks
32 clocks
When
××
PR
×
= 1
8 clocks
33 clocks
Note If an interrupt request is generated just before a divide instruction, the wait time is maximized.
Remark
1 clock: 1/f
CPU
(f
CPU
: CPU clock)
If two or more maskable interrupt requests are generated simultaneously, the request with a higher priority level
specified in the priority specify 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.
An interrupt request that is held pending is acknowledged when it becomes acknowledgeable.
Figure 19-11 shows the interrupt request acknowledge algorithm.
If a maskable interrupt request is acknowledged, the contents are saved into the stacks in the order of program
status word (PSW), then program counter (PC), the IE flag is reset (to 0), and the contents of the priority specify flag
corresponding to the acknowledged interrupt are transferred to the ISP flag. Further, the vector table data determined
for each interrupt request is loaded into PC and branched.
Return from an interrupt is possible with the RETI instruction.
Summary of Contents for mPD780852 Series
Page 2: ...2 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 8: ...8 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 12: ...12 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 26: ...26 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 46: ...46 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 74: ...74 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 90: ...90 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 100: ...100 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 136: ...136 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 142: ...142 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 186: ...186 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 222: ...222 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 230: ...230 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 240: ...240 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 262: ...262 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 296: ...296 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 304: ...304 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 314: ...314 Preliminary User s Manual U14581EJ3V0UM00 MEMO...