Datasheet

To configure a user multiplexer, the USER register must be written in a single 16-bit write. It is possible to
read out the configuration of a user by first selecting the user by writing to USER.USER using an 8-bit
write and then performing a read of the 16-bit USER register.
Figure 24-2. User MUX
USER
MUX
PERIPHERAL A PERIPHERAL B
USER.CHANNEL
USER_EVT_x
USER_EVT_y
USER_EVT_z
CHANNEL_EVT_0
CHANNEL_EVT_1
CHANNEL_EVT_m
24.6.2.4 Channel Setup
An event channel can select one event from a list of event generators. Depending on configuration, the
selected event could be synchronized, resynchronized or asynchronously sent to the users. When
synchronization or resynchronization is required, the channel includes an internal edge detector, allowing
the Event System to generate internal events when rising, falling or both edges are detected on the
selected event generator. An event channel is able to generate internal events for the specific software
commands. All these configurations are available in the Channel register (CHANNEL).
To configure a channel, the Channel register must be written in a single 32-bit write. It is possible to read
out the configuration of a channel by first selecting the channel by writing to CHANNEL.CHANNEL using
a, 8-bit write, and then performing a read of the CHANNEL register.
24.6.2.5 Channel Path
There are three different ways to propagate the event provided by an event generator:
Asynchronous path
Synchronous path
Resynchronized path
SAM D21 Family
EVSYS – Event System
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001882D-page 440