Control Registers and Control Packets
565
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Direct Memory Access Controller (DMA) Module
16.3.1.2 Channel Pending Register (PEND)
Figure 16-19. Channel Pending Register (PEND) [offset = 04h]
31
16
Reserved
R-0
15
0
PEND[15:0]
R-0
LEGEND: R = Read only; -
n
= value after reset
Table 16-11. Channel Pending Register (PEND) Field Descriptions
Bit
Field
Value
Description
31-16
Reserved
0
Reads return 0. Writes have no effect.
15-0
PEND[
n
]
Channel pending register. Bit 0 corresponds to channel 0, bit 1 corresponds to channel 1, and so on.
Reading from PEND gives the channel pending information if the channel was initiated by SW or HW.
Once set, it remains set even if the corresponding channel is disabled via HWCHENA or SWCHENA.
The pending bit is automatically cleared for the following conditions:
• At the end of a frame or a block transfer depending on how the channel is triggered as programmed
in the TTYPE bit field of CHCTRL.
• The control packet is modified after the pending bit is set.
• An AHB bus error occurs.
0
The corresponding channel is inactive.
1
The corresponding channel is pending and is waiting for service.
16.3.1.3 DMA Status Register (DMASTAT)
Figure 16-20. DMA Status Register (DMASTAT) [offset = 0Ch]
31
16
Reserved
R-0
15
0
STCH[15:0]
R-0
LEGEND: R = Read only; -
n
= value after reset
Table 16-12. DMA Status Register (DMASTAT) Field Descriptions
Bit
Field
Value
Description
31-16
Reserved
0
Reads return 0. Writes have no effect.
15-0
STCH[
n
]
Status of DMA channels. Bit 0 corresponds to channel 0, bit 1 corresponds to channel 1, and so on.
0
The channel is inactive.
1
The channel is active; that is, the channel is currently in the DMA's execution queue.
Note: The status of a channel currently in DMA's execution queue remains active even if
emulation mode is entered or DMA is disabled via DMA_EN bit.