Fujitsu MB90480 Series Hardware Manual page 110

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 3 INTERRUPT
● When the data counter (DCT) count terminates (final data transfer)
Because the hardware interrupt is activated when data transfer by EI
interrupt handling time is added. The EI
calculated with the following formula :
2
EI
OS processing time when counting terminates = EI
The interrupt handling time is different for the address stored by the stack pointer.
Table 3.7-4 Interpolation value (Z) for the interrupt handling time
Address pointed to by the stack pointer
External interrupt is 8-bit
External interrupt is even-numbered address
External interrupt is odd-numbered address
Internal interrupt is even-numbered address
Internal interrupt is odd-numbered address
● For termination by a termination request from the peripheral function (resource)
When data transfer by EI
the peripheral function (resource) (ICR: S1, S0 = 11
hardware interrupt is activated. The EI
formula. Z in the formula indicates the interpolation value for the interrupt handling time (Table
3.7-4).
2
EI
Reference:
One machine cycle corresponds to one clock cycle of the machine clock (φ).
88
OS processing time when data is transferred (21 + 6 × Z) machine cycle
2
2
OS is terminated before completion due to a termination request from
OS processing time for termination before completion = 36 + 6 × Z machine cycle
2
OS processing time when counting terminates is
Interpolation value (Z)
), the data transfer is not performed and a
B
2
OS processing time is calculated with the following
2
OS terminates, the
Interrupt handling time
+4
+1
+4
0
+2

Advertisement

Table of Contents
loading

Table of Contents