Dma Control Register (Dma_Dcrn) - NXP Semiconductors MKL27Z128VFM4 Reference Manual

Table of Contents

Advertisement

Field
Set when all DMA controller transactions complete as determined by transfer count, or based on error
conditions. When BCR reaches 0, DONE is set when the final transfer completes successfully. DONE can
also be used to abort a transfer by resetting the status bits. When a transfer completes, software must
clear DONE before reprogramming the DMA.
0
DMA transfer is not yet complete. Writing a 0 has no effect.
1
DMA transfer completed. Writing a 1 to this bit clears all DMA status bits and should be used in an
interrupt service routine to clear the DMA interrupt and error bits.
BCR
BCR
This field contains the number of bytes yet to be transferred for a given block.
Restriction: BCR must be written with a value equal to or less than 0F_FFFFh. After being written with a

21.3.4 DMA Control Register (DMA_DCRn)

Address: 4000_8000h base + 10Ch offset + (16d × i), where i=0d to 3d
Bit
31
30
29
R
EINT
ERQ
CS
W
Reset
0
0
0
Bit
15
14
13
R
SMOD
W
Reset
0
0
0
Field
31
Enable Interrupt on Completion of Transfer
EINT
Freescale Semiconductor, Inc.
DMA_DSR_BCRn field descriptions (continued)
value in this range, bits 23-20 of BCR read back as 0000b. A write to BCR of a value
greater than 0F_FFFFh causes a configuration error when the channel starts to execute.
After being written with a value in this range, bits 23-20 of BCR read back as 0001b.
28
27
26
25
0
AA
0
0
0
0
12
11
10
9
DMOD
0
0
0
0
DMA_DCRn field descriptions
Table continues on the next page...
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Chapter 21 DMA Controller Module
Description
24
23
22
21
SINC
SSIZE
0
0
0
0
8
7
6
5
0
LINKCC
0
0
0
0
Description
20
19
18
17
DINC
DSIZE
0
0
0
0
4
3
2
1
LCH1
LCH2
0
0
0
0
16
0
0
0
0
315

Advertisement

Table of Contents
loading

Table of Contents