Chapter 18 Enhanced Direct Memory Access (eDMA)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
391
As a given channel completes the processing of its major iteration count, there is a flag in the transfer
control descriptor that can affect the ending state of the EDMA_ERQR bit for that channel. If the
TCD.D_REQ bit is set, then the corresponding EDMA_ERQR bit is cleared after the major loop is
complete, disabling the DMA hardware request. Otherwise if the D_REQ bit is cleared, the state of the
EDMA_ERQR bit is unaffected.
18.5.2.4
eDMA Enable Error Interrupt Register (EDMA_EEIRL)
The EDMA_EEIRL provides a bit map for the 16 channels to enable the error interrupt signal for each
channel. EDMA_EEIRL maps to channels 15-0.
The state of any given channel’s error interrupt enable is directly affected by writes to these registers; it is
also affected by writes to the EDMA_SEEIR and EDMA_CEEIR. The EDMA_SEEIR and
EDMA_CEEIR are provided so that the error interrupt enable for a
single
channel can easily be modified
without the need to perform a read-modify-write sequence to the EDMA_EEIRL.
Both the DMA error indicator and this error interrupt enable flag must be asserted before an error interrupt
request for a given channel is asserted.
Table 18-4. EDMA_ERQRL field descriptions
Field
Description
16–31
ERQ
n
Enable DMA hardware service request
n.
0 The DMA request signal for channel n is disabled.
1 The DMA request signal for channel n is enabled.
Address: Base + 0x0014
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
EEI15 EEI14 EEI13 EEI12 EEI11 EEI10 EEI09 EEI08 EEI07 EEI06 EEI05 EEI04 EEI03 EEI02 EEI01 EEI00
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 18-5. eDMA Enable Error Interrupt Low Register (EDMA_EEIRL)
Table 18-5. EDMA_EEIRL field descriptions
Field
Description
16–31
EEI
n
Enable error interrupt
n.
0 The error signal for channel
n
does not generate an error interrupt.
1 The assertion of the error signal for channel
n
generate an error interrupt request.