Datasheet

Table Of Contents
12. Timer
page 92
923fo7002,51.beF00.2.veR
0020-2020B90JER
)T62/C61M,B62/C61M,A62/C61M(puorGA62/C61M
Figure 12.1. Timer A Configuration
12. Timer
Note
The TB2IN pin is not available in the 42-pin package. Do not use functions associated with the TB2IN
pin.
Eight 16-bit timers, each capable of operating independently of the others, can be classified by function as
either timer A (five) and timer B (three). The count source for each timer acts as a clock, to control such
timer operations as counting, reloading, etc. Figures 12.1 and 12.2 show block diagrams of timer A and
timer B configuration, respectively.
Timer mode
One-shot timer mode
Pulse Width Measuring (PWM) mode
Timer mode
One-shot timer mode
PWM mode
Timer mode
One-shot timer mode
PWM mode
Timer mode
One-shot timer mode
PWM mode
Timer mode
One-shot timer mode
PWM mode
Event counter mode
Event counter mode
Event counter mode
Event counter mode
Event counter mode
TA0
IN
TA1
IN
TA2
IN
TA3
IN
TA4
IN
Timer A0
Timer A1
Timer A2
Timer A3
Timer A4
f
8
f
32
f
C32
Timer A0 interrupt
Timer A1 interrupt
Timer A2 interrupt
Timer A3 interrupt
Timer A4 interrupt
Noise
filter
Noise
filter
Noise
filter
Noise
filter
Noise
filter
1/32
f
C32
1/8
1/4
f
1 or
f
2
f
8
f
32
Main clock
PLL clock
On-chip
oscillator clock
X
CIN
Reset
Clock prescaler
Timer B2 overflow or underflow
1/2
f
1
f
2
PCLK0 bit = "0"
PCLK0 bit = "1"
f
1 or
f
2
Set the CPSR bit in the
CPSRF register to 1
(= prescaler reset)