Dma Interrupt Related Registers - Renesas M32R/ECU Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

9

9.2.6 DMA Interrupt Related Registers

The DMA interrupt related registers are used to control the interrupt request signals sent from the DMAC to the
Interrupt Controller.
(1) Interrupt request status bit
This status bit is used to determine whether there is an interrupt request. When an interrupt request occurs,
this bit is set in hardware (cannot be set in software). The status bit is cleared by writing "0". Writing "1" has
no effect; the bit retains the status it had before the write. Because this status bit is unaffected by the interrupt
request mask bit, it can be used to inspect the operating status of peripheral functions.
In interrupt handling, make sure that within the grouped interrupt request status, only the status bit for the
interrupt request that has been serviced is cleared. If the status bit for any interrupt request that has not been
serviced is cleared, the pending interrupt request is cleared simultaneously with its status bit.
(2) Interrupt request mask bit
This bit is used to disable unnecessary interrupt requests within the grouped interrupt request. Set this bit to "0" to
enable interrupt requests or "1" to disable interrupt requests.
Group interrupt
Data bus
Figure 9.2.2 Interrupt Request Status and Mask Registers
Interrupt request from
each peripheral function
Set
Interrupt request status
Data = 0
clear
F/F
F/F
Interrupt request enabled
9.2 DMAC Related Registers
9-22
To the Interrupt
Controller
32180 Group User's Manual (Rev.1.0)
DMAC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents