English
Language : 

AT91SAM7X256 Datasheet, PDF (387/637 Pages) ATMEL Corporation – AT91 ARM Thumb-based Microcontrollers
AT91SAM7X256/128 Preliminary
33. Timer/Counter (TC)
33.1 Overview
The Timer/Counter (TC) includes three identical 16-bit Timer/Counter channels. Each channel
can be independently programmed to perform a wide range of functions including frequency
measurement, event counting, interval measurement, pulse generation, delay timing and pulse
width modulation.
Each channel has three external clock inputs, five internal clock inputs and two multi-purpose
input/output signals which can be configured by the user. Each channel drives an internal inter-
rupt signal which can be programmed to generate processor interrupts.
The Timer/Counter block has two global registers which act upon all three TC channels.
The Block Control Register allows the three channels to be started simultaneously with the same
instruction.
The Block Mode Register defines the external clock inputs for each channel, allowing them to be
chained.
33.2 Block Diagram
Figure 33-1. Timer/Counter Block Diagram
TIMER_CLOCK1
TIMER_CLOCK2
TIMER_CLOCK3
TIMER_CLOCK4
TIMER_CLOCK5
TCLK0
TIOA1
TIOA2
TCLK1
TCLK2
TCLK0
TCLK1
TIOA0
TIOA2
TCLK2
XC0
XC1
XC2
TC0XC0S
XC0
XC1
XC2
TC1XC1S
Timer/Counter
Channel 0 TIOA
TIOB
TIOA0
TIOB0
SYNC INT0
Timer/Counter
Channel 1 TIOA
TIOB
TIOA1
TIOB1
SYNC INT1
Parallel I/O
Controller
TCLK0
TCLK1
TCLK2
TIOA0
TIOB0
TIOA1
TIOB1
TCLK0
TCLK1
TCLK2
TIOA0
TIOA1
XC0
XC1
XC2
TC2XC2S
Timer/Counter
Channel 2 TIOA
TIOB
TIOA2
TIOB2
SYNC INT2
TIOA2
TIOB2
Timer Counter
Advanced
Interrupt
Controller
6120D–ATARM–02-Feb-06
387