Datasheet

Table Of Contents
31.3 Block Diagram
Figure 31-1. Event System Block Diagram
USER m+1
Event Channel n
Event Channel 1
Event Channel 0
USER m
D
Q
R
Synchronized Path
Asynchronous Path
Edge Detector
CHANNEL0.EDGSEL
CHANNEL0.PATH
EVT
DQ
R
DQ
R
DQ
R
Resynchronized Path
D
Q
R
D
Q
R
D
Q
R
SWEVT.CHANNEL0
PERIPHERAL x
PERIPHERAL0
CHANNEL0.EVGEN
USERm.CHANNEL
Channel_EVT_0
EVT ACK
Channel_EVT_n
Clock Request [n:0]
To Peripheral x
Peripheral x
GCLK_EVSYS_0
SleepWalking
Detector
Event Acknowledge
31.4 Product Dependencies
In order to use this peripheral, other parts of the system must be configured correctly, as described below.
31.4.1 I/O Lines
Not applicable.
31.4.2 Power Management
The EVSYS can be used to wake up the CPU from all sleep modes (except BACKUP and OFF Mode),
even if the clock used by the EVSYS channel and the EVSYS bus clock are disabled. Refer to the PM –
Power Manager for details on the different sleep modes.
Although the clock for the EVSYS is stopped, the device still can wake up the EVSYS clock. Some event
generators can generate an event when their clocks are stopped. The generic clock for the channel
(GCLK_EVSYS_CHANNEL_n) will be restarted if that channel uses a synchronized path or a
resynchronized path. It does not need to wake the system from sleep.
Important:  This generic clock only applies to channels which can be configured as
synchronous or resynchronized.
Related Links
18. PM – Power Manager
31.4.3 Clocks
The EVSYS bus clock (CLK_EVSYS_APB) can be enabled and disabled in the Main Clock module, and
the default state of CLK_EVSYS_APB can be found in Peripheral Clock Masking.
Each EVSYS channel which can be configured as synchronous or resynchronized has a dedicated
generic clock (GCLK_EVSYS_CHANNEL_n). These are used for event detection and propagation for
each channel. These clocks must be configured and enabled in the generic clock controller before using
the EVSYS. Refer to GCLK - Generic Clock Controller for details.
SAM D5x/E5x Family Data Sheet
EVSYS – Event System
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 847