146
6174B–ATARM–07-Nov-05
AT91FR40162S Preliminary
18. TC: Timer Counter
The AT91FR40162S 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 gen-
eration, delay timing and pulse width modulation.
Each Timer Counter channel has 3 external clock inputs, 5 internal clock inputs, and 2 multi-pur-
pose input/output signals which can be configured by the user. Each channel drives an internal
interrupt signal which can be programmed 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.