22.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 |
---|---|
0 | Unused (Tied to 1'b0) |
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 | SERCOM3_DMAC_ID_RX |
11 | SERCOM3_DMAC_ID_TX |
12 | TCC0_DMAC_ID_OVF |
13 | TCC0_DMAC_ID_MC_0 |
14 | TCC0_DMAC_ID_MC_1 |
15 | TCC0_DMAC_ID_MC_2 |
16 | TCC0_DMAC_ID_MC_3 |
17 | TCC0_DMAC_ID_MC_4 |
18 | TCC0_DMAC_ID_MC_5 |
19 | TCC1_DMAC_ID_OVF |
20 | TCC1_DMAC_ID_MC_0 |
21 | TCC1_DMAC_ID_MC_1 |
22 | TCC1_DMAC_ID_MC_2 |
23 | TCC1_DMAC_ID_MC_3 |
24 | TCC1_DMAC_ID_MC_4 |
25 | TCC1_DMAC_ID_MC_5 |
26 | TCC2_DMAC_ID_OVF |
27 | TCC2_DMAC_ID_MC_0 |
28 | TCC2_DMAC_ID_MC_1 |
29 | TC0_DMAC_ID_OVF |
30 | TC0_DMAC_ID_MC_0 |
31 | TC0_DMAC_ID_MC_1 |
32 | TC1_DMAC_ID_OVF |
33 | TC1_DMAC_ID_MC_0 |
34 | TC1_DMAC_ID_MC_1 |
35 | TC2_DMAC_ID_OVF |
36 | TC2_DMAC_ID_MC_0 |
37 | TC2_DMAC_ID_MC_1 |
38 | TC3_DMAC_ID_OVF |
39 | TC3_DMAC_ID_MC_0 |
40 | TC3_DMAC_ID_MC_1 |
41 | AES_DMAC_ID_WR |
42 | AES_DMAC_ID_RD |
43 | QSPI_DMAC_ID_RX |
44 | QSPI_DMAC_ID_TX |
Bit 6 – RUNSTDBY Channel run in standby
This bit is used to keep the DMAC channel running in standby 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
Writing a ‘0
’ to this bit during
an ongoing transfer, the bit will not be cleared until the internal data transfer
buffer is empty and the DMA transfer is aborted. The internal data transfer buffer
will be empty once the ongoing burst transfer is completed.
Writing a ‘1
’ to this bit will
enable 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 will
be 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. |