13.3.5 DMA Channel x Control Register

Note:
  1. The number of transfers per CHREQ bit setting depends on TRMODE[1:0].
  2. The channel will only be able to transfer if PCHEN is high, provided that PPEN is also set high for ping-pong operation support.
  3. DMAxCNT register is reloaded in every repeated mode operation regardless of the RELOADC bit state.
Table 13-7. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Gray cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
CWrite to clearSSoftware settable bitxChannel number
Name: DMAxCH
Offset: 0x2310, 0x233C, 0x2368, 0x2394, 0x23C0, 0x23EC

Bit 3130292827262524 
   PPENPCHEN RELOADCRELOADDRELOADS 
Access R/WR/W/HS/HCR/WR/WR/W 
Reset 00000 
Bit 2322212019181716 
        RETEN 
Access R/W 
Reset 0 
Bit 15141312111098 
 SAMODE[1:0]DAMODE[1:0]TRMODE[1:0]FLWCON[1:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 SIZE[1:0] CHREQDONEENMATCHENHALFENCHEN 
Access R/WR/WR/WR/WR/WR/WR/W/HC 
Reset 0000000 

Bit 29 – PPEN Ping-Pong Operation Enable bit

ValueDescription
1Ping-pong operation support is enabled
0Ping-pong operation support is disabled

Bit 28 – PCHEN Ping-Pong Channel Enable bit

Intended to support the ping-pong operation; the bit takes effect only when PPEN is set high as follows.
ValueDescription
1The DMA channel is enabled if CHEN is set high; this bit is hardware settable via PCHEN of the other DMA channel pair used in the Ping-Pong mode
0The DMA channel is disabled

Bit 26 – RELOADC  Count Reload bit(3)

ValueDescription
1DMAxCNT register is reloaded to previous written value (buffered original content) upon the start of the next operation
0DMAxCNT register is not reloaded

Bit 25 – RELOADD Destination Address Reload bit

ValueDescription
1DMAxDST register is reloaded to previous written value upon the start of the next operation
0DMAxDST register is not reloaded

Bit 24 – RELOADS Source Address Reload bit

ValueDescription
1DMAxSRC register is reloaded to previous written value upon the start of the next operation
0DMAxSRC register is not reloaded

Bit 16 – RETEN  Read Error Trap Enable bit

ValueDescription
1DMA channel suspends transfer operation on bus read error and asserts DMA trap signal
0DMA channel continues transfer operation when bus read error is encountered

Bits 15:14 – SAMODE[1:0] Source Address Mode Selection bits

ValueDescription
11Reserved
10DMAxSRC register is decremented based on SIZE[1:0] after a transfer completion
01DMAxSRC register is incremented based on SIZE[1:0] after a transfer completion
00DMAxSRC register remains unchanged after a transfer completion

Bits 13:12 – DAMODE[1:0] Destination Address Mode Selection bits

ValueDescription
11Reserved
10DMAxDST register is decremented based on SIZE[1:0] after a transfer completion
01DMAxDST register is incremented based on SIZE[1:0] after a transfer completion
00DMAxDST register remains unchanged after a transfer completion

Bits 11:10 – TRMODE[1:0] Transfer Mode Selection bits

ValueDescription
11Repeated Continuous
10Continuous
01Repeated One-Shot
00One-Shot

Bits 9:8 – FLWCON[1:0] Data Flow Control bits

ValueDescription
11Reserved
10Read from DMAxSRC only
01Read from DMAxSRC followed by write to DMAxDST and DMAxSRC (Null Write mode)
00Read from DMAxSRC followed by write to DMAxDST

Bits 7:6 – SIZE[1:0] Data Size Selection bits

ValueDescription
11Reserved
1032-bit word is transferred at a time
0116-bit word is transferred at a time
00One byte is transferred at a time

Bit 4 – CHREQ  DMA Channel Software Request bit(1)

ValueDescription
1A DMA request is initiated by software; automatically cleared upon completion of a DMA transfer
0No DMA request is initiated by software

Bit 3 – DONEEN Done Interrupt Enable bit

ValueDescription
1An interrupt is invoked upon DONE flag being set
0An interrupt is not invoked by DONE condition

Bit 2 – MATCHEN Pattern Match Enable bit

ValueDescription
1Pattern match is enabled
0Pattern match is disabled

Bit 1 – HALFEN Halfway Completion Watermark bit

ValueDescription
1An interrupt is invoked when the DMAxCNT register value has reached its halfway point
0An interrupt is not invoked by a half condition

Bit 0 – CHEN  DMA Channel Enable bit (2)

ValueDescription
1The corresponding DMA channel is enabled
0The corresponding DMA channel is disabled