CHAPTER 10: DMAC
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 459
Interrupt Signals Output from DMAC
Table 2-2 shows a list of the interrupt signals output from DMAC.
Table 2-2 List of Interrupt Signals from DMAC
Interrupt Factor Register
Interrupt Enable Register
ch.0 successful transfer completion interrupt
ch.0 unsuccessful transfer completion interrupt
ch.1 successful transfer completion interrupt
ch.1 unsuccessful transfer completion interrupt
ch.2 successful transfer completion interrupt
ch.2 unsuccessful transfer completion interrupt
ch.3 successful transfer completion interrupt
ch.3 unsuccessful transfer completion interrupt
ch.4 successful transfer completion interrupt
ch.4 unsuccessful transfer completion interrupt
ch.5 successful transfer completion interrupt
ch.5 unsuccessful transfer completion interrupt
ch.6 successful transfer completion interrupt
ch.6 unsuccessful transfer completion interrupt
ch.7 successful transfer completion interrupt
ch.7 unsuccessful transfer completion interrupt
Reference: Interrupt Generation Factors and Clearing (For details, see "4 DMAC Control".)
Interrupt from each channel is generated by the following factors:
− Upon the successful completion of channel transfer, "101" is set to SS[2:0] of the channel. If the
above value is set to SS[2:0] with CI=1 (successful transfer completion interrupt enabled), a
successful transfer completion interrupt occurs.
− Upon the unsuccessful completion of channel transfer, "001", "010", "011" and "100" are set to
SS[2:0] of the channel. If the above value is set to SS[2:0] with EI=1 (unsuccessful transfer
completion interrupt enabled), an unsuccessful transfer completion interrupt occurs.
− The successful transfer completion interrupt and the unsuccessful transfer completion interrupt
undergo logic OR; therefore, if either of the interrupts occurs, an interrupt occurs from the
channel.
Interrupt from each channel can be cleared by writing "000" to SS[2:0].