|
M16C62_M Datasheet, PDF (514/615 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES | |||
|
◁ |
Timer A Applications
Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
l = reload register content
FFFF16
(1) Timer A0 start count
(2) Timer A0 underflow
l
000016
n = reload register content
FFFF16
n
(3) Timer A1 start count
(4) Timer A1 stop count
Time
000116
Timer A0 count â1â
start flag
â0â
Timer A1 count â1â
start flag
â0â
PWM pulse output âHâ
from TA1OUT pin âLâ
Timer A0 interrupt â1â
request bit
â0â
Timer A1 interrupt â1â
request bit
â0â
Set to â1â by software
Set to â1â by software
1ms
500µs
Time
Cleared to â0â when interrupt request is accepted, or cleared by software
Cleared to â0â when interrupt request is accepted, or cleared by software
Figure 3.2.1. Operation timing of variable-period variable-duty PWM output
f1
Used for timer mode (Set to period)
f8
Timer A0
Timer A0 interrupt request bit
f32
fC32
Timer A1
Timer A1 interrupt request bit
Used for one-shot timer mode (Set to âHâ width)
Figure 3.2.2. Connection diagram of variable-period variable-duty PWM output
2-197
|
▷ |