13.2.1
Block Diagram
Figure 13-1. Block Diagram
From event
generators
The block diagram shows the operation of an event channel. A multiplexer controlled by
EVSYS.CHANNELn at the input selects which of the event sources to route onto the event channel. Each
event channel has two subchannels; One asynchronous subchannel and one synchronous subchannel. A
synchronous user will listen to the synchronous subchannel, an asynchronous user will listen to the
asynchronous subchannel.
An event signal from an asynchronous source will be synchronized by the event system before being
routed to the synchronous subchannel. An asynchronous event signal to be used by a synchronous
consumer must last for at least one peripheral clock cycle to guarantee that it will propagate through the
synchronizer. The synchronizer will delay such an event by 2-3 clock cycles depending on when the
event occurs.
Figure 13-2. Example of Event Source, Generator, User, and Action
Event Generator
Timer/Counter
Compare Match
Over-/Underflow
Error
Event Source
©
2018 Microchip Technology Inc.
STROBE[n]
.
.
.
D Q D Q
CHANNELn
|
Event channel n
0
1
Is
async?
Event
Routing
Network
Datasheet Preliminary
®
megaAVR
0-Series
Event System (EVSYS)
To channel
mux for async
event user
To channel
mux for sync
event user
Event User
ADC
Channel Sweep
Single
Conversion
Event Action Selection
Event Action
DS40002015A-page 118
Need help?
Do you have a question about the megaAVR 0 Series and is the answer not in the manual?
Questions and answers