Register Descriptions
972
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Direct Memory Access (DMA) Module
Table 11-9. Control Register (CONTROL) Field Descriptions (continued)
Bit
Field
Value
Description
4
PERINTCLR
0
Peripheral Interrupt Clear Bit: Writing a 1 to this bit clears any latched peripheral interrupt event
and clears the PERINTFLG bit. This bit would normally be used when initializing the DMA for the
first time. If a peripheral event occurs at the same time as writing to this bit, the peripheral has
priority and the PERINTFLG bit is set.
3
PERINTFRC
0
Peripheral Interrupt Force Bit: Writing a 1 to this bit latches a peripheral interrupt event trigger
and sets the PERINTFLG bit. If the PERINTE bit is set, this bit can be used like a software force
for a DMA burst transfer.
2
SOFTRESET
0
Channel Soft Reset Bit: Writing a 1 to this bit completes current read-write access and places the
channel into a default state as follows:
RUNSTS = 0
TRANSFERSTS = 0
BURSTSTS = 0
BURST_COUNT = 0
TRANSFER_COUNT = 0
SRC_WRAP_COUNT = 0
DST_WRAP_COUNT = 0
This is a
soft
reset that basically allows the DMA to complete the current read-write access and
then places the DMA channel into the default reset state.
1
HALT
0
Channel Halt Bit: Writing a 1 to this bit halts the DMA at the current state and any current read-
write access is completed. See
for the various positions the state machine can be at
when HALTED. The RUNSTS bit is set to 0. To take the device out of HALT, the RUN bit needs
to be activated.
0
RUN
0
Channel Run Bit: Writing a 1 to this bit starts the DMA channel. The RUNSTS bit is set to 1. This
bit is also used to take the device out of HALT.
The RUN bit is typically used to start the DMA running after you have configured the DMA. It will
then wait for the first interrupt event (PERINTFLG == 1) to start operation. The RUN bit can also
be used to take the DMA channel out of a HALT condition See
for the various
positions the state machine can be at when HALTED.