English
Language : 

M16C26A Datasheet, PDF (109/352 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/26A Group (M16C/26A, M16C/26B, M16C/26T)
12. Timer
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.
• Main clock f1
• PLL clock
• On-chip
oscillator clock
1/2 f2 PCLK0 bit = "0"
f1 or f2
PCLK0 bit = "1"
1/8
f8
f1 or f2 f8 f32 fC32
1/4
f32
Clock prescaler
XCIN
Set the CPSR bit in the
CPSRF register to “1”
(= prescaler reset)
1/32
Reset
TA0IN
Noise
filter
• Timer mode
• One-shot timer mode
• Pulse Width Measuring (PWM) mode
Timer A0
• Event counter mode
TA1IN
TA2IN
Noise
filter
Noise
filter
• Timer mode
• One-shot timer mode
• PWM mode
Timer A1
• Event counter mode
• Timer mode
• One-shot timer mode
• PWM mode
Timer A2
• Event counter mode
TA3IN
TA4IN
Noise
filter
Noise
filter
• Timer mode
• One-shot timer mode
• PWM mode
Timer A3
• Event counter mode
• Timer mode
• One-shot timer mode
• PWM mode
Timer A4
• Event counter mode
fC32
Timer A0 interrupt
Timer A1 interrupt
Timer A2 interrupt
Timer A3 interrupt
Timer A4 interrupt
Timer B2 overflow or underflow
Figure 12.1. Timer A Configuration
Rev. 2.00 Feb.15, 2007 page 92 of 329
REJ09B0202-0200