This application note introduces the XMEGA Event system and its features and usage
This document provides training on the XMEGA Event System, which allows peripherals to communicate and trigger actions automatically without using interrupts. It covers event sources, channel multiplexers, and event actions. The guide includes four practical tasks: building a 32-bit timer, input capture with filtering, synchronized triggering, and manually generating events. Each task includes code examples and step-by-step instructions for configuration and debugging using Atmel AVR Studio.
It enables a change of state in one peripheral to automatically trigger actions in other peripherals without using interrupts or CPU resources.
Timer/Counters (TCxn), Real Time counter (RTC), Analog to Digital converters (ADCx), Analog Comparators (ACx), Ports (PORTx), and System clock (clksys).
Multiple peripherals can use the same event channel as input to synchronize actions, such as starting input capture and ADC conversion simultaneously.
Events can be generated from software, and the document provides a basic example on how to do this.