The Event System (EVSYS) is a peripheral found on AVR® microcontrollers (MCUs) that allows other on-chip peripherals to signal directly to each other independently of the Central Processing Unit (CPU). Through the Event System, an output of one peripheral is propagated to many other peripherals. This improves response time and reduces power consumption while enabling more complex system configurations.
The Event System is split into multiple channels. Each channel can have a single event generator and multiple event users. Since some peripherals operate asynchronously while others are synchronized to the peripheral clock, the Event System contains two subchannels for each type of peripheral. To make both types of peripherals compatible, the event system synchronizes asynchronous events for the synchronous peripherals.
There are two types of events: pulsed output and level output. A pulsed output is only active for a single clock cycle whereas a level output is active for multiple clock cycles. A few examples of peripherals and their outputs are shown below.
Note: The table above is not exhaustive. Other peripheral connections and outputs are available.
Episode 6: Trigger Conversions on Event for ADC in Window Comparator Mode