Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Fiche De Données

Codes de produits
ATSAMD21-XPRO
Page de 1018
398
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
If the Generic Clocks Request bit in the Control register (CTRL.GCLKREQ) is zero, the channel operates in 
SleepWalking mode and request the configured generic clock only when an event is to be propagated through the 
channel. If CTRL.GCLKREQ is one, the generic clock will always be on for the configured channel.
Resynchronized Path
The resynchronized path should be used when the event generator and the event channel do not share the same generic 
clock generator. When the resynchronized path is used, resynchronization of the event from the event generator is done 
in the channel.
When the resynchronized path is used, the channel is capable of generating interrupts. The channel status bits in the 
Channel Status register (
) are also updated and available for use.
If the Generic Clocks Request bit in the Control register (CTRL.GCLKREQ) is zero, the channel operates in 
SleepWalking mode and request the configured generic clock only when an event is to be propagated through the 
channel. If CTRL.GCLKREQ is one, the generic clock will always be on for the configured channel.
23.6.2.4  User Multiplexer Setup
Each user multiplexer is dedicated to one event user. A user multiplexer receives all event channel outputs and must be 
configured to select one of these channels. The user must always be configured before the channel is configured. A full 
list of selectable users can be found in the User Multiplexer register (
 for details.
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 23-3. User MUX
23.6.2.5  Channel Setup
The channel to be used with an event user must be configured with an event generator. The path of the channel should 
be configured, and when using a synchronous path or resynchronized path, the edge selection should be configured. All 
these configurations are available in the Channel register (
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