English
Language : 

M16C30L Datasheet, PDF (76/166 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Timer
Mitsubishi microcomputers
M16C / 30L Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Timer
There are five 16-bit timers. These timers can be classified by function into timers A (three) and timers B
(two). All these timers function independently. Figures 1.14.1 and 1.14.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
Clock prescaler
f1
XCIN
1/32
f8 Clock prescaler reset flag (bit 7
f32 at address 038116) set to “1”
Reset
• Timer mode
• One-shot timer mode
• PWM mode
Timer A0
• Event counter mode
• 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
Timer B2 overflow
Note : The TA0IN pin (P71) is shared with RxD2, so be careful.
fC32
Timer A0 interrupt
Timer A1 interrupt
Timer A2 interrupt
Figure 1.14.1. Timer A block diagram
75