84
CHAPTER 4 DELAYED INTERRUPT GENERATION MODULE
4.1 Overview of Delayed Interrupt Generation Module
The delayed interrupt generation module generates the interrupt for task switching.
The hardware interrupt request can be generated/cancelled by software.
■ Overview of Delayed Interrupt Generation Module
By using the delayed interrupt generation module, a hardware interrupt request can be generated or
cancelled by software.
Table 4.1-1 shows the overview of the delayed interrupt generation module.
Table 4.1-1 Overview of Delayed Interrupt Generation Module
Function and control
Interrupt factor An interrupt request is generated by setting the R0 bit in the delayed
interrupt request generate/cancel register to 1 (DIRR: R0 = 1).
An interrupt request is cancelled by setting the R0 bit in the delayed
interrupt request generate/cancel register to 0 (DIRR: R0 = 0).
Interrupt number #42 (2A
H
)
Interrupt control An interrupt is not enabled by the DIRR register.
Interrupt flag The interrupt flag is held in the R0 bit in the DIRR register.
EI
2
OS The DIRR register does not correspond to the EI
2
OS.