SAM3X8E Atmel Corporation, SAM3X8E Datasheet - Page 1156

no-image

SAM3X8E

Manufacturer Part Number
SAM3X8E
Description
Manufacturer
Atmel Corporation
Datasheets
39.6.2.19
Name:
Address:
Access:
• CHANN_ENB: Channel Enable Command
0: DMA channel is disabled at and no transfer will occur upon request. This bit is also cleared by hardware when the chan-
nel source bus is disabled at end of buffer.
1: UOTGHS_DEVDMASTATUS.CHANN_ENB bit will be set, thus enabling DMA channel data transfer. Then any pending
request will start the transfer. This may be used to start or resume any requested transfer.
• LDNXT_DSC: Load Next Channel Transfer Descriptor Enable Command
0: no channel register is loaded after the end of the channel transfer.
1 : t h e c h a n n e l c o n t r o l l e r l o a d s t h e n e x t d e s c r i p t o r a f t e r t h e e n d o f t h e c u r r e n t t r a n s f e r , i . e . w h e n
UOTGHS_DEVDMASTATUS.CHANN_ENB bit is reset.
If CHANN_ENB bit is cleared, the next descriptor is immediately loaded upon transfer request.
DMA Channel Control Command Summary
1156
1156
BURST_LCK
If LDNXT_DSC bit has been cleared by descriptor loading, the firmware will have to set the corresponding
CHANN_ENB bit to start the described transfer, if needed.
If LDNXT_DSC bit is cleared, the channel is frozen and the channel registers may then be read and/or written reliably
as soon as both UOTGHS_DEVDMASTATUS.CHANN_ENB and CHANN_ACT flags read as 0.
If a channel request is currently serviced when this bit is cleared, the DMA FIFO buffer is drained until it is empty, then
the UOTGHS_DEVDMASTATUS.CHANN_ENB bit is cleared.
If LDNXT_DSC bit is set at or after this bit clearing, then the currently loaded descriptor is skipped (no data transfer
occurs) and the next descriptor is immediately loaded.
Value
31
23
15
7
0
1
2
3
SAM3X/A
SAM3X/A
Device DMA Channel x Control Register
UOTGHS_DEVDMACONTROLx [x=1..7]
0x400AC318 [1], 0x400AC328 [2], 0x400AC338 [3], 0x400AC348 [4], 0x400AC358 [5], 0x400AC368 [6],
0x400AC378 [7]
Read-write
DESC_LD_IT
STOP_NOW
RUN_AND_STOP
LOAD_NEXT_DESC
RUN_AND_LINK
30
22
14
6
Name
END_BUFFIT
29
21
13
5
Stop now
Run and stop at end of buffer
Load next descriptor now
Run and link at end of buffer
END_TR_IT
Description
28
20
12
4
BUFF_LENGTH
BUFF_LENGTH
END_B_EN
27
19
11
3
END_TR_EN
26
18
10
2
LDNXT_DSC
25
17
9
1
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
CHANN_ENB
24
16
8
0

Related parts for SAM3X8E