26.6.6 Events

The DMAC can generate the following output events:

  • Channel (CH): Generated when a block transfer for a given channel has been completed, or when a beat transfer within a block transfer for a given channel has been completed. Refer to Event Output Selection section for details.

Setting the Channel Control B Event Output Enable bit (CHCTRLB.EVOE=1) enables the corresponding output event configured in the Event Output Selection bit group in the Block Transfer Control register (BTCTRL.EVOSEL). Clearing CHCTRLB.EVOE=0 disables the corresponding output event.

The DMAC can take the following actions on an input event:

  • Transfer and Periodic Transfer Trigger (TRIG): normal transfer or periodic transfers on peripherals are enabled
  • Conditional Transfer Trigger (CTRIG): conditional transfers on peripherals are enabled
  • Conditional Block Transfer Trigger (CBLOCK): conditional block transfers on peripherals are enabled
  • Channel Suspend Operation (SUSPEND): suspend a channel operation
  • Channel Resume Operation (RESUME): resume a suspended channel operation
  • Skip Next Block Suspend Action (SSKIP): skip the next block suspend transfer condition
  • Increase Priority (INCPRI): increase channel priority

Setting the Channel Control B Event Input Enable bit (CHCTRLB.EVIE=1) enables the corresponding action on input event. clearing this bit disables the corresponding action on input event. Note that several actions can be enabled for incoming events. If several events are connected to the peripheral, any enabled action will be taken for any of the incoming events. For further details on event input actions, refer to Event Input Action section.

References:

EVSYS - Event Output Selection

DMAC - Event Input Action