28.8.19 Channel Control B

This register affects the DMA channel that is selected in the Channel ID register (CHID.ID).
Name: CHCTRLB
Offset: 0x44
Reset: 0x00000000
Property: PAC Write-Protection, Enable-Protected

Bit 3130292827262524 
       CMD[1:0] 
Access R/WR/W 
Reset 00 
Bit 2322212019181716 
 TRIGACT[1:0]       
Access R/WR/W 
Reset 00 
Bit 15141312111098 
    TRIGSRC[4:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 
Bit 76543210 
  LVL[1:0]EVOEEVIEEVACT[2:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bits 25:24 – CMD[1:0] Software Command

These bits define the software commands. Refer to Channel Suspend and Channel Resume and Next Suspend Skip.

These bits are not enable-protected.

CMD[1:0]NameDescription
0x0NOACTNo action
0x1SUSPENDChannel suspend operation
0x2RESUMEChannel resume operation
0x3-Reserved

Bits 23:22 – TRIGACT[1:0] Trigger Action

These bits define the trigger action used for a transfer.

TRIGACT[1:0]NameDescription
0x0BLOCKOne trigger required for each block transfer
0x1-Reserved
0x2BEATOne trigger required for each beat transfer
0x3TRANSACTIONOne trigger required for each transaction

Bits 12:8 – TRIGSRC[4:0] Trigger Source

These bits define the peripheral trigger which is source of the transfer. For details on trigger selection and trigger modes, refer to Transfer Triggers and Actions and CHCTRLB.TRIGACT.

ValueNameDescription
0x00DISABLEOnly software/event triggers
0x01RTC TIMESTAMPRTC Timestamp Trigger
0x02DSU DCC0ID for DCC0 register
0x03DSU DCC1ID for DCC1 register
0x04SERCOM0 RXSERCOM0 RX Trigger
0x05SERCOM0 TXSERCOM0 TX Trigger
0x06SERCOM1 RXSERCOM1 RX Trigger
0x07SERCOM1 TXSERCOM1 TX Trigger
0x08SERCOM2 RXSERCOM2 RX Trigger
0x09SERCOM2 TXSERCOM2 TX Trigger
0x0ATC0 OVFTC0 Overflow Trigger
0x0BTC0 MC0TC0 Match/Compare 0 Trigger
0x0CTC0 MC1TC0 Match/Compare 1 Trigger
0x0DTC1 OVFTC1 Overflow Trigger
0x0ETC1 MC0TC1 Match/Compare 0 Trigger
0x0FTC1 MC1TC1 Match/Compare 1 Trigger
0x10TC2 OVFTC2 Overflow Trigger
0x11TC2 MC0TC2 Match/Compare 0 Trigger
0x12TC2 MC1TC2 Match/Compare 1 Trigger
0x13ADC RESRDYADC Result Ready Trigger
0x14DAC EMPTYDAC Empty Trigger
0x15PTC EOCPTC End of Conversion Trigger
0x16PTC SEQPTC Sequence Trigger
0x17PTC WCOMPPTC Window Compare Trigger

Bits 6:5 – LVL[1:0] Channel Arbitration Level

These bits define the arbitration level used for the DMA channel, where a high level has priority over a low level. For further details on arbitration schemes, refer to Arbitration.

These bits are not enable-protected.

LVL[1:0]NameDescription
0x0LVL0Channel Priority Level 0
0x1LVL1Channel Priority Level 1
0x2LVL2Channel Priority Level 2
0x3LVL3Channel Priority Level 3

Bit 4 – EVOE Channel Event Output Enable

This bit indicates if the Channel event generation is enabled. The event will be generated for every condition defined in the descriptor Event Output Selection (BTCTRL.EVOSEL).

This bit is available only for the four least significant DMA channels. Refer to table: User Multiplexer Selection and Event Generator Selection of the Event System for details.

ValueDescription
0Channel event generation is disabled.
1Channel event generation is enabled.

Bit 3 – EVIE Channel Event Input Enable

This bit is available only for the four least significant DMA channels. Refer to table: User Multiplexer Selection and Event Generator Selection of the Event System for details.

ValueDescription
0Channel event action will not be executed on any incoming event.
1Channel event action will be executed on any incoming event.

Bits 2:0 – EVACT[2:0] Event Input Action

These bits define the event input action, as shown below. The action is executed only if the corresponding EVIE bit in the CHCTRLB register of the channel is set.

These bits are available only for the four least significant DMA channels. Refer to table: User Multiplexer Selection and Event Generator Selection of the Event System for details.

EVACT[2:0]NameDescription
0x0NOACTNo action
0x1TRIGNormal Transfer and Conditional Transfer on Strobe trigger
0x2CTRIGConditional transfer trigger
0x3CBLOCKConditional block transfer
0x4SUSPENDChannel suspend operation
0x5RESUMEChannel resume operation
0x6SSKIPSkip next block suspend action
0x7-Reserved