8-bit
Microcontrollers
Application Note
Rev. 8045A-AVR-02/08
AVR1306: Using the XMEGA Timer/Counter
Features
•
True 16 bit operation
•
Double buffered timer period setting
•
4 (2) compare or capture channels per timer
-
4 channels on each Timer 0
-
2 channels on each Timer 1
-
Double buffered
•
32 bit operation with 32 bit input capture by timer cascading
•
Event counter
•
Timer overflow and error interrupts (and events)
•
Input capture interrupts (and events)
1 Introduction
The XMEGA™ Timer/Counter modules are true 16-bit Timer/Counters with Input
Capture and Pulse Width Modulation (PWM) functionality.
This application note gives an introduction on how to use the XMEGA
Timer/Counter modules for timing, Input Capture and PWM.