26.8.16 Channel Control A
Name: | CHCTRLA |
Offset: | 0x40 + n*0x10 [n=0..15] |
Reset: | 0x00000000 |
Property: | PAC Write-Protection, Enable-Protected |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
THRESHOLD[1:0] | BURSTLEN[3:0] | ||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
Reset | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
TRIGACT[1:0] | |||||||||
Access | R/W | R/W | |||||||
Reset | 0 | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
TRIGSRC[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
RUNSTDBY | ENABLE | SWRST | |||||||
Access | R/W | R/W | R/W | ||||||
Reset | 0 | 0 | 0 |
Bits 29:28 – THRESHOLD[1:0] FIFO Threshold
These bits are not enable-protected.
Value | Name | Description |
---|---|---|
0x0 | 1BEAT | Destination write starts after each beat source addess read |
0x1 | 2BEATS | Destination write starts after 2-beats source address read |
0x2 | 4BEATS | Destination write starts after 4-beats source address read |
0x3 | 8BEATS | Destination write starts after 8-beats source address read |
Bits 27:24 – BURSTLEN[3:0] Burst Length
These bits are not enable-protected.
Value | Name | Description |
---|---|---|
0x0 | SINGLE | Single-beat burst |
0x1 | 2BEAT | 2-beats burst length |
0x2 | 3BEAT | 3-beats burst length |
0x3 | 4BEAT | 4-beats burst length |
0x4 | 5BEAT | 5-beats burst length |
0x5 | 6BEAT | 6-beats burst length |
0x6 | 7BEAT | 7-beats burst length |
0x7 | 8BEAT | 8-beats burst length |
0x8 | 9BEAT | 9-beats burst length |
0x9 | 10BEAT | 10-beats burst length |
0xA | 11BEAT | 11-beats burst length |
0xB | 12BEAT | 12-beats burst length |
0xC | 13BEAT | 13-beats burst length |
0xD | 14BEAT | 14-beats burst length |
0xE | 15BEAT | 15-beats burst length |
0xF | 16BEAT | 16-beats burst length |
Bits 21:20 – TRIGACT[1:0] Trigger Action
These bits are not enable-protected.
Value | Name | Description |
---|---|---|
0x0 | BLOCK | One trigger required for each block transfer |
0x1 | — | Reserved |
0x2 | BURST | One trigger required for each burst transfer |
0x3 | TRANSACTION | One trigger required for each transaction |
Bits 15:8 – TRIGSRC[7:0] Trigger Source
Number | Name |
---|---|
0x00 | DISABLE; Only software/event triggers |
1 | RTC_DMAC_ID_TIMESTAMP |
2 | DSU_DMAC_ID_DCC0 |
3 | DSU_DMAC_ID_DCC1 |
4 | SERCOM0_DMAC_ID_RX |
5 | SERCOM0_DMAC_ID_TX |
6 | SERCOM1_DMAC_ID_RX |
7 | SERCOM1_DMAC_ID_TX |
8 | SERCOM2_DMAC_ID_RX |
9 | SERCOM2_DMAC_ID_TX |
10 | TCC0_DMAC_ID_OVF |
11 | TCC0_DMAC_ID_MC_0 |
12 | TCC0_DMAC_ID_MC_1 |
13 | TCC0_DMAC_ID_MC_2 |
14 | TCC0_DMAC_ID_MC_3 |
15 | TCC0_DMAC_ID_MC_4 |
16 | TCC0_DMAC_ID_MC_5 |
17 | TCC1_DMAC_ID_OVF |
18 | TCC1_DMAC_ID_MC_0 |
19 | TCC1_DMAC_ID_MC_1 |
20 | TCC1_DMAC_ID_MC_2 |
21 | TCC1_DMAC_ID_MC_3 |
22 | TCC1_DMAC_ID_MC_4 |
23 | TCC1_DMAC_ID_MC_5 |
24 | TCC2_DMAC_ID_OVF |
25 | TCC2_DMAC_ID_MC_0 |
26 | TCC2_DMAC_ID_MC_1 |
27 | TC0_DMAC_ID_OVF |
28 | TC0_DMAC_ID_MC_0 |
29 | TC0_DMAC_ID_MC_1 |
30 | TC1_DMAC_ID_OVF |
31 | TC1_DMAC_ID_MC_0 |
32 | TC1_DMAC_ID_MC_1 |
33 | TC2_DMAC_ID_OVF |
34 | TC2_DMAC_ID_MC_0 |
35 | TC2_DMAC_ID_MC_1 |
36 | TC3_DMAC_ID_OVF |
37 | TC3_DMAC_ID_MC_0 |
38 | TC3_DMAC_ID_MC_1 |
39 | TC4_DMAC_ID_OVF |
40 | TC4_DMAC_ID_MC_0 |
41 | TC4_DMAC_ID_MC_1 |
42 | TC5_DMAC_ID_OVF |
43 | TC5_DMAC_ID_MC_0 |
44 | TC5_DMAC_ID_MC_1 |
45 | TC6_DMAC_ID_OVF |
46 | TC6_DMAC_ID_MC_0 |
47 | TC6_DMAC_ID_MC_1 |
48 | TC7_DMAC_ID_OVF |
49 | TC7_DMAC_ID_MC_0 |
50 | TC7_DMAC_ID_MC_1 |
51 | QSPI_DMAC_ID_RX |
52 | QSPI_DMAC_ID_TX |
Bit 6 – RUNSTDBY Channel run in standby
This bit is used to keep the DMAC channel running in Standby Sleep mode.
This bit is not enable-protected.
Value | Description |
---|---|
0 | The DMAC channel is halted in standby. |
1 | The DMAC channel continues to run in standby. |
Bit 1 – ENABLE Channel Enable
When writing a ‘0
’ to this bit during an ongoing transfer, the bit must not be cleared until the internal data transfer buffer is empty and the DMA transfer is aborted. The internal data transfer buffer is empty when the ongoing burst transfer is completed.
Writing a ‘1
’ to this bit enables the DMA channel.
This bit is not enable-protected.
Value | Description |
---|---|
0 | DMA channel is disabled. |
1 | DMA channel is enabled. |
Bit 0 – SWRST Channel Software Reset
Writing a ‘0
’ to this bit has no effect.
Writing a ‘1
’ to this bit resets the channel registers to their initial state. The bit can be set when the channel is disabled (ENABLE=0). Writing a ‘1
’ to this bit is ignored as long as ENABLE=1. This bit is automatically cleared when the reset is completed.
Value | Description |
---|---|
0 | There is no reset operation ongoing. |
1 | The reset operation is ongoing. |