36.7.39 USB DMA Channel x Control Register

Table 36-39. Register Bit Attribute Legend
Symbol Description Symbol Description Symbol Description
R Readable bit HC Cleared by Hardware (Grey cell) Unimplemented
W Writable bit HS Set by Hardware X Bit is unknown at Reset
K Write to clear S Software settable bit
Name: DMAxCTRL
Offset: 0x1204 + x*0x0A [x=0..7]
Reset: 0x0000000000
Property: PAC Write-Protection

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
      DMABRSTM[1:0]DMAERR 
Access R/WR/WR/W 
Reset 000 
Bit 76543210 
 DMAEP[3:0]DMAIEDMAMODEDMADIRDMAEN 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 10:9 – DMABRSTM[1:0] DMA Burst Mode Selection bit

ValueDescription
11 Burst Mode 3: INCR16, INCR8, INCR4 or unspecified length
10 Burst Mode 2: INCR8, INCR4 or unspecified length
01 Burst Mode 1: INCR4 or unspecified length
00 Burst Mode 0: Bursts of unspecified length

Bit 8 – DMAERR DMA Bus Error bit

ValueDescription
0 The software writes this to clear the error
1 A bus error has been observed on the input

Bits 7:4 – DMAEP[3:0] DMA Endpoint Assignment bits

These bits hold the endpoint that the DMA channel is assigned to. Valid values are 0-7.

Bit 3 – DMAIE DMA Interrupt Enable bit

ValueDescription
0 Interrupt is disabled for this channel
1 Interrupt is enabled for this channel

Bit 2 – DMAMODE DMA Transfer Mode bit

ValueDescription
0 DMA Mode0 Transfers
1 DMA Mode1 Transfers

Bit 1 – DMADIR DMA Transfer Direction bit

ValueDescription
0 DMA Write (RX endpoint)
1 DMA Read (TX endpoint)

Bit 0 – DMAEN DMA Enable bit

ValueDescription
0 Disable the DMA transfer
1 Enable the DMA transfer and start the transfer