19.6.10 Interrupt Pending

This register allows the user to identify the lowest DMA channel with pending interrupt.
Name: INTPEND
Offset: 0x20
Reset: 0x0000
Property: 

Bit 15141312111098 
 PENDBUSYFERR  SUSPTCMPLTERR 
Access RRRR/WR/WR/W 
Reset 000000 
Bit 76543210 
    ID[4:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 

Bit 15 – PEND Pending

This bit is set when the channel selected by Channel ID field (ID) is pending.

This bit is otherwise cleared.

Bit 14 – BUSY Busy

This bit is set when the channel selected by Channel ID field (ID) is busy.

This bit is otherwise cleared.

Bit 13 – FERR Fetch Error

This bit is set when the channel selected by Channel ID field (ID) fetched an invalid descriptor.

This bit is otherwise cleared.

Bit 10 – SUSP Channel Suspend

This bit is cleared by writing a ‘1’ to it.

This bit is set when the channel selected by Channel ID field (ID) has pending Suspend interrupt.

Writing a ‘0’ to this bit has no effect.

Writing a ‘1’ to this bit will clear the Channel ID (ID) Suspend interrupt flag.

Bit 9 – TCMPL Transfer Complete

This bit is cleared by writing a ‘1’ to it.

This bit is set when the channel selected by Channel ID field (ID) has a pending Transfer Complete interrupt.

Writing a ‘0’ to this bit has no effect.

Writing a ‘1’ to this bit will clear the Channel ID (ID) Transfer Complete interrupt flag.

Bit 8 – TERR Transfer Error

This bit is cleared by writing a ‘1’ to it.

This bit is set when the channel selected by Channel ID field (ID) has a pending Transfer Error interrupt.

Writing a ‘0’ to this bit has no effect.

Writing a ‘1’ to this bit will clear the Channel ID (ID) Transfer Error interrupt flag.

Bits 4:0 – ID[4:0] Channel ID

This bit field stores the lowest channel number with pending interrupts. The number is valid if the Suspend (SUSP), Transfer Complete (TCMPL) or Transfer Error (TERR) bits are set. The Channel ID field is refreshed when a new channel (with a channel number lower than the current one) with pending interrupts is detected, or when the application clears the corresponding channel interrupt sources. When no pending channels interrupts are available, this bit field will always return a zero value when read.

When this bit field is written, indirect access to the corresponding Channel Interrupt Flag Status and Clear (CHINTFLAG) register is enabled.

ValueNameDescription
0x00 CHN0 DMA Channel 0
0x01 CHN1 DMA Channel 1
Other Reserved