English
Language : 

AT91M40400_99 Datasheet, PDF (84/116 Pages) ATMEL Corporation – AT91 ARM Thumb Microcontrollers
TC: Timer Counter
The AT91M40400 features a Timer Counter block which
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 Timer Counter channel has 3 external clock inputs, 5
internal clock inputs, and 2 multi-purpose input/output sig-
nals which can be configured by the user. Each channel
Figure 41. TC Block Diagram
drives an internal interrupt signal which can be pro-
grammed to generate processor interrupts via the AIC
(Advanced Interrupt Controller).
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 Timer Counter channel,
allowing them to be chained.
MCKI/2
MCKI/8
MCKI/32
MCKI/128
MCKI/1024
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 INT
Timer Counter
Channel 1 TIOA
TIOB
TIOA1
TIOB1
SYNC INT
Parallel IO
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 INT
TIOA2
TIOB2
Timer Counter Block
Advanced
Interrupt
Controller
84
AT91M40400