English
Language : 

ATXMEGA128B1_14 Datasheet, PDF (35/142 Pages) ATMEL Corporation – 8/16-bit Atmel XMEGA B1 Microcontroller
Some timer/counters have extensions to enable more specialized waveform and frequency generation. The advanced
waveform extension (AWeX) is intended for motor control and other power control applications. It enables low- and high-
side output with dead-time insertion, as well as fault protection for disabling and shutting down external drivers. It can
also generate a synchronized bit pattern across the port pins.
The Advanced Waveform Extension can be enabled to provide extra and more advanced features for the Timer/Counter.
This are only available for Timer/Counter 0. See “TC2 –16-bit Timer/Counter Type 2” on page 36 for more details.
The high-resolution (hi-res) extension can be used to increase the waveform output resolution by four or eight times by
using an internal clock source running up to four times faster than the peripheral clock. See “Hi-Res – High Resolution
Extension” on page 38 for more details.
Figure 16-1. Overview of a Timer/Counter and closely related peripherals
Timer/Counter
Base Counter
Timer Period
Counter
Control Logic
Prescaler
Event
System
clkPER
Compare/Capture Channel D
Compare/Capture Channel C
Compare/Capture Channel B
Compare/Capture Channel A
Comparator
Buffer
Capture
Control
Waveform
Generation
AWeX
Dead-Time
Insertion
Pattern
Generation
Fault
Protection
clkPER4
PORTC has one Timer/Counter 0 and one Timer/Counter1. PORTE has one Timer/Counter 0. Notation of these are
TCC0 (Time/Counter C0), TCC1, and TCE0, respectively.
XMEGA B1 [DATASHEET] 35
Atmel-8330F-AVR-ATxmega64B1-128B1_datasheet–02/2014