beautypg.com

3 operation of delayed interrupt module – FUJITSU MB91F109 FR30 User Manual

Page 246

background image

222

CHAPTER 7 DELAYED INTERRUPT MODULE

7.3

Operation of Delayed Interrupt Module

The delayed interrupt module causes an interrupt for changing a task.
Software can use this module to issue or cancel an interrupt request to the CPU.

Interrupt Number

A delayed interrupt is assigned to the interrupt having the largest interrupt number.

This model assigns the delayed interrupt to interrupt number 63 (3F

H

).

DICR DLYI Bit

Writing "1" to the DLYI bit of the DICR register generates the cause of a delayed interrupt.
Writing "0" clears the cause of the delayed interrupt.

This bit is the same as the interrupt source flag for general interrupts. Clear the bit in the

interrupt routine and change the task.