Atmel Evaluation Kit for ATxmega32E5, 8/16-bit AVR XMEGA Microcontroller Atmel ATXMEGAE5-XPLD ATXMEGAE5-XPLD データシート

製品コード
ATXMEGAE5-XPLD
ページ / 147
35
XMEGA E5 [DATASHEET]
Atmel-8153H–AVR-ATxmega8E5-ATxmega16E5-ATxmega32E5_Datasheet–07/2014
There are two differences between timer/counter type 4 and type 5. Timer/counter 4 has four CC channels, and 
timer/counter 5 has two CC channels. Both timer/counter 4 and 5 can be set in 8-bit mode, allowing the application to 
double the number of compare and capture channels that then get 8-bit resolution.
Some timer/counters have extensions that enable more specialized waveform generation. The waveform extension 
(WeX) is intended for motor control, ballast, LED, H-bridge, power converters, and other types of power control 
applications. It enables more customized waveform output distribution, and low- and high-side channel output with 
optional dead-time insertion. It can also generate a synchronized bit pattern across the port pins. The high-resolution (hi-
res) extension can increase the waveform resolution by four or eight times by using an internal clock source four times 
faster than the peripheral clock. The fault extension (FAULT) enables fault protection for safe and deterministic handling, 
disabling and/or shut down of external drivers.
A block diagram of the 16-bit timer/counter with extensions and closely related peripheral modules (in grey) is shown in 
Figure 17-1. 16-bit timer/counter and closely related peripherals.
PORTC has one timer/counter 4 and one timer/counter 5. PORTD has one timer/counter 5. Notation of these are TCC4 
(timer/counter C4), TCC5 and TCD5 respectively.
Compare/Capture Channel D
Compare/Capture Channel C
Compare/Capture Channel B
Compare/Capture Channel A
Waveform 
Generation
Buffer
Comparator
Capture 
Control
Base Counter
Counter
Control Logic
Timer Period
Prescaler
Event 
System
Timer/Counter
clk
PER4
clk
PER
WeX