![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_181.png)
MB90560 series
CHAPTER 6 INTERRUPTS
157
G
When the data counter (DCT) count terminates (final data transfer)
Because the hardware interrupt is activated when data transfer by EI
2
OS terminates, the
interrupt handling time is added. The EI
2
OS processing time when counting terminates is
calculated with the following formula:
EI
2
OS processing time when counting terminates = EI
2
OS processing time when data is
transferred + (21 + 6 x Z) Machine cycles
Interrupt handling time
The interrupt handling time is different for each address pointed to by the stack pointer. Table
6.7-3 shows the compensation value (Z) for the interrupt handling time.
Table 6.7-3 Interpolation value (Z) for the interrupt handling time
G
For termination by a termination request from the peripheral function (I/O)
When data transfer by EI
2
OS is terminated before completion due to a termination request from
the peripheral function (I/O) (ICR: S1, S0 = 11), the data transfer is not performed and a
hardware interrupt is activated. The EI
2
OS processing time is calculated with the following
formula. Z in the formula indicates the compensation value for the interrupt handling time (Table
6.7-3).
EI
2
OS processing time for termination before completion = 36 + 6 x Z Machine cycle
<Reference>
One machine cycle is equal to one clock cycle of the machine clock (
φ
).
Address pointed to by the stack pointer
Compensation value (Z)
External 8-bit
External even-numbered address
External odd-numbered address
Internal even-numbered address
Internal odd-numbered address
+4
+1
+4
0
+2