English
Language : 

M16C6K9 Datasheet, PDF (79/292 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C/6K9 Group
Timer
Timer
There are eleven 16-bit timers. These timers can be classified by function into timers A (five) and timers B
(six). All these timers function independently. Fig.FB-1 and FB-2 show the block diagram of timers.
XIN
1/8
1/4
f1 f8 f32 fC32
TA0IN
Noise
filter
TA1IN
Noise
filter
TA2IN
Noise
filter
TA3IN
Noise
filter
TA4IN
Noise
filter
Clock prescaler
f1
XCIN
1/32
fC32
f8
Clock prescaler reset flag (bit 7
Reset
f32 at address 038116) set to “1”
• Timer mode
• One-shot mode
• PWM mode
Timer A0
• Event counter mode
• Timer mode
• One-shot mode
• PWM mode
Timer A1
• Event counter mode
• Timer mode
• One-shot mode
• PWM mode
Timer A2
• Event counter mode
• Timer mode
• One-shot mode
• PWM mode
Timer A3
• Event counter mode
• Timer mode
• One-shot mode
• PWM mode
Timer A4
• Event counter mode
Timer A0 interrupt
Timer A1 interrupt
Timer A2 interrupt
Timer A3 interrupt
Timer A4 interrupt
Timer B2 overflow
Note 1: The TA0IN pin (P71) is shared with RxD2 and the TB5IN pin, so be careful.
Fig.FB-1 Timer A block diagram
Rev.1.00 Jun 06, 2003 page 79 of 290