24.4.3.3 Software Event

A software event can be initiated on a channel by writing the Channel n bit in the Software Event register (SWEVT.CHANNELn) to ‘1’, which will generate an event on channel n.

When using a software event on a channel with a resynchronized path, the CHSTATUS.CHBUSYn bit is not immediately set. Wait three GCLK_EVSYS_CH_n clock cycles for the CHSTATUS.CHBUSYn bit to be set before issuing another software event.

When using a software event on a channel with a synchronized or resynchronized path, edge detection must be configured for rising edge detection (CHANNEL[n].EDGSEL is ‘0x1’).