228
CHAPTER 14 Delayed Interrupt Module
14.3 Operation of Delayed Interrupt Module
Delay interrupts are used to generate interrupts for switching tasks. Using this function
enables interrupt requests to the CPU to be generated or cancelled by the software.
■ Interrupt Number
The delay interrupt is allocated to the interrupt factor supporting the largest interrupt number. It will be the
interrupt factor that supports the interrupt number 63 (3FH) for this product comprising of 48 factors.
■ DLYI Bit of DICR
Writing "1" to this bit generates a delay interrupt factor. Also, writing "0" cancels a delay interrupt factor.
This bit is the same as the interrupt factor flag under general interrupts. Clear this bit within the interrupt
routine, and simultaneously switch the task.