R01UH0092EJ0110 Rev.1.10
Page 212 of 807
Jul 31, 2012
M16C/64C Group
14. Interrupts
14.7.3
Interrupt Response Time
Figure 14.4 shows the Interrupt Response Time. The interrupt response or interrupt acknowledge time
denotes the time from when an interrupt request is generated until the first instruction in the interrupt
routine is executed. Specifically, it consists of the time from when an interrupt request is generated until
the executing instruction is completed ((a) in Figure 14.4) and the time during which the interrupt
sequence is executed ((b) in Figure 14.4).
Figure 14.4
Interrupt Response Time
14.7.4
Variation of IPL When Interrupt Request is Accepted
When a maskable interrupt request is accepted, the interrupt priority level of the accepted interrupt is
set in the IPL.
When a software interrupt or special interrupt request is accepted, one of the interrupt priority levels
listed in Table 14.10 is set in the IPL. Table 14.10 lists the IPL Level Set in IPL When Software or
Special Interrupt is Accepted.
Table 14.10
IPL Level Set in IPL When Software or Special Interrupt is Accepted
Interrupt Source
Level Set in IPL
Watchdog timer,
NMI
, oscillator stop/restart detect,
voltage monitor 1, voltage monitor 2
7
Software, address match,
DBC
, single-step
Not changed
Instruction
Interrupt sequence
Instruction in
interrupt routine
Time
Interrupt response time
(a)
(b)
Interrupt request
acknowledged
Interrupt request
generated
(a) The time from when an interrupt request is generated until the instruction being executed is completed.
The length of this time varies with the instruction being executed. The DIVX instruction requires the
longest time, which is equal to 30 cycles (no wait state, and when the divisor is a register).
(b) The time during which the interrupt sequence is executed. For details, see the table below. Note,
however, that the values in this table must be increased by two cycles for the DBC interrupt and by one
cycle for the address match and single-step interrupts.
SP Value
Interrupt Vector Address
16-bit Bus, No Wait States
8-bit Bus, No Wait States
Even
Even
Odd
Odd
Even
Odd
Even
Odd
18 cycles
19 cycles
19 cycles
20 cycles
20 cycles
20 cycles
20 cycles
20 cycles
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...