Chapter 19 DMA Channel Mux (DMA_MUX)
MPC5602P Microcontroller Reference Manual, Rev. 4
428
Freescale Semiconductor
All registers are accessible via 8-bit, 16-bit or 32-bit accesses. However, 16-bit accesses must be aligned
to 16-bit boundaries, and 32-bit accesses must be aligned to 32-bit boundaries. As an example,
CHCONFIG0 through CHCONFIG3 are accessible by a 32-bit READ/WRITE to address ‘Base +
0x0000’, but performing a 32-bit access to address ‘Base + 0x0001’ is illegal.
19.3.2
Register descriptions
19.3.2.1
Channel Configuration Registers
Each of the DMA channels can be independently enabled/disabled and associated with one of the #SRC +
#ALE total DMA sources in the system.
Address: Base +
#n
Access: User read/write
7
6
5
4
3
2
1
0
R
ENBL
TRIG
SOURCE
W
Reset
0
0
0
0
0
0
0
0
Figure 19-2. Channel Configuration Registers (CHCONFIG#
n
)
Table 19-2. CHCONFIG#
x
field descriptions
Field
Description
7
ENBL
DMA Channel Enable
ENBL enables the DMA Channel.
0 DMA channel is disabled. This mode is primarily used during configuration of the DMA Mux. The
DMA has separate channel enables/disables that should be used to disable or reconfigure a DMA
channel.
1 DMA channel is enabled.
6
TRIG
DMA Channel Trigger Enable (for triggered channels only)
TRIG enables the periodic trigger capability for the DMA Channel.
0 Triggering is disabled. If triggering is disabled, and the ENBL bit is set, the DMA Channel routes the
specified source to the DMA channel.
1 Triggering is enabled.
5–0
SOURCE
DMA Channel Source (slot)
SOURCE specifies which DMA source, if any, is routed to a particular DMA channel. See
Table 19-3. Channel and trigger enabling
ENBL
TRIG
Function
Mode
0
X
DMA Channel is disabled
Disabled Mode
1
0
DMA Channel is enabled with no triggering (transparent)
Normal Mode
1
1
DMA Channel is enabled with triggering
Periodic Trigger
Mode