Hardware Interrupt - Fujitsu F2MC-16LX Hardware Manual

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

3.4

Hardware Interrupt

Hardware interrupt suspends the active program execution by the CPU in response to
an interrupt request signal generated by a peripheral function, resulting in transfer of
control to the user-defined interrupt handling program. Extended intelligent I/O service
2
OS), µDMAC, external interrupts, and other similar processes are also executed as a
(EI
type of hardware interrupt.
Function of Hardware Interrupt
Function of hardware interrupt
Hardware interrupt makes comparison between the interrupt level of the interrupt request signal which a
peripheral function outputs and the interrupt level mask register (ILM) in the CPU's processor status (PS).
This interrupt also refers the contents of the I flag in PS, by hardware, to determine whether the interrupt is
acceptable.
Once the hardware interrupt is accepted, the contents of the registers and their related data in the CPU are
automatically saved in the system stack. The level of the currently requested interrupt is stored in the ILM.
Then, control branches to the associated interrupt vector.
Multiple interrupts
Multiple hardware interrupts can be activated.
2
EI
OS
At the completion of transfer, a hardware interrupt is activated although EI
function between EI
2
OS process is in progress, all the other interrupt requests and µDMAC requests remain pending.
an EI
µDMAC
At the completion of transfer, a hardware interrupt is activated although µDMAC is an automatic transfer
function between memory and I/O. Further, µDMAC cannot be activated in a multiple manner. While an
µDMAC process is in progress, all the other interrupt requests and EI
External interrupt
The external interrupt (including a wake-up interrupt) is accepted as a hardware interrupt through the
peripheral function (its interrupt request detector circuit).
Interrupt vector
The interrupt vector table, referred during execution of the interrupt process, is assigned to the "FFFC00
to "FFFFFF
interrupt vectors, see "Section 3.2 Interrupt Cause and Interrupt Vector"
2
OS/memory and I/O. Further, EI
" memory for shared with software interrupt. For allocations of interrupt numbers and
H
CHAPTER 3 INTERRUPT
2
OS is an automatic transfer
2
OS cannot be activated in a multiple manner. While
2
OS requests remain pending.
"
H
61

Advertisement

Table of Contents
loading

Table of Contents