English
Language : 

XMEGAA_09 Datasheet, PDF (66/445 Pages) ATMEL Corporation – Interrupts and Programmable Multi-level Interrupt Controller
6.3 Events
XMEGA A
Figure 6-1. Event System Overview and Connected Peripherals
PORTx
ClkSYS
CPU
ADCx
DACx
Event Routing
Network
RTC
ACx
IRCOM
T/Cxn
DMA
The CPU is not part of the Event System, but it indicates that it is possible to manually generate
events from software or by using the on-chip debug system.
The Event System works in active and idle mode.
In the context of the Event System, an indication that a change of state within a peripheral has
occurred is called an event. There are two main types of events: Signaling events and data
events. Signaling events only indicate a change of state while data events contain additional
information on the event.
The peripheral from where the event origin is called the Event Generator. Within each periph-
eral, for example a Timer/Counter, there can be several event sources, such as a timer compare
match or timer overflow. The peripheral using the event is called the Event User, and the action
that is triggered is called the Event Action.
Figure 6-2. Example of event source, generator, user and action
Event Generator
Event User
Timer/Counter
Compare Match
Over-/Und|erflow
Error
Event
Routing
Network
ADC
Channel Sweep
Single
Conversion
Event Action Selection
Event Source
Event Action
66
8077H–AVR–12/09