11.9.6 Mode Register (MODE) — EALLOW Protected
The mode register (MODE) is shown in
and described in
register when the RUNSTS bit is 0 (DMA channel stopped or halted). Typically though, the values should only be
configured when the channel is stopped.
Figure 11-12. Mode Register (MODE)
15
14
13
12
11
10
9
8
CHINTE
DATASIZE
Reserved
CONTINUOUS
ONESHOT
CHINTMODE
PERINTE
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
7
6
5
4
0
OVRINTE
Reserved
PERINTSEL
R/W-0
R-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 11-8. Mode Register (MODE) Field Descriptions
Bit
Field
Value
Description
15
CHINTE
Channel Interrupt Enable Bit: This bit enables/disables the respective DMA channel interrupt
to the CPU (via the PIE).
0
Interrupt disabled
1
Interrupt enabled
14
DATASIZE
Data Size Mode Bit: This bit selects if the DMA channel transfers 16-bits or 32-bits of data at a
time.
0
16-bit data transfer size
1
32-bit data transfer size
Note
Regardless of the value of this bit all of the registers in the DMA refer to 16-bit
words. The only effect this bit causes is whether the data bus width is 16 or 32
bits.
It is up to you to configure the pointer step increment and size to accommodate
32-bit data transfers. See
for details.
13-12 Reserved
Reserved
11
CONTINUOUS
Continuous Mode Bit: If this bit is set to 1, then DMA re-initializes when TRANSFER_COUNT
is zero and waits for the next interrupt event trigger. If this bit is 0, then the DMA stops and
clears the RUNSTS bit to 0.
10
ONESHOT
One Shot Mode Bit: If this bit is set to 1, then subsequent burst transfers occur without
additional event triggers after the first event trigger. If this bit is 0 then only one burst transfer is
performed per event trigger.
Note: High-priority mode and One-shot mode may not be used at the same time on CH1.
9
CHINTMODE
Channel Interrupt Generation Mode Bit: This bit specifies when the respective DMA channel
interrupt should be generated to the CPU (via the PIE).
0
Generate interrupt at beginning of new transfer
1
Generate interrupt at end of transfer.
8
PERINTE
Peripheral Interrupt Trigger Enable Bit: This bit enables/disables the selected peripheral
interrupt trigger to the DMA.
0
Interrupt trigger disabled. Neither the selected peripheral nor software can start a DMA burst.
1
Interrupt trigger enabled.
Direct Memory Access (DMA) Module
746
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......