|
M16C62A Datasheet, PDF (80/242 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER | |||
|
◁ |
Timer A
Mitsubishi microcomputers
M16C / 62A Group (80-pin)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Condition : Reload register = 000316, when external trigger
(rising edge of TAiIN pin input signal) is selected
1 / fi X (216 â 1)
Count source
TAiIN pin
âHâ
input signal
âLâ
PWM pulse output âHâ
from TAiOUT pin
âLâ
Timer Ai interrupt â1â
request bit
â0â
Trigger is not generated by this signal
1 / fi X n
fi : Frequency of count source
(f1, f8, f32, fC32)
Cleared to â0â when interrupt request is accepted, or cleared by software
Note 1: n = 000016 to FFFE16.
Note 2: Timer A1 and A2 do not have I/O port (TAiIN and TAiOUT).
Figure 1.13.12. Example of how a 16-bit pulse width modulator operates
Condition : Reload register high-order 8 bits = 0216
Reload register low-order 8 bits = 0216
External trigger (falling edge of TAiIN pin input signal) is selected
1 / fi X (m + 1) X (28 â 1)
Count source (Note1)
TAiIN pin input signal âHâ
âLâ
Underflow signal of âHâ
8-bit prescaler (Note2) âLâ
PWM pulse output âHâ
from TAiOUT pin
âLâ
Timer Ai interrupt
â1â
request bit
â0â
1 / fi X (m + 1)
1 / fi X (m + 1) X n
fi : Frequency of count source
(f1, f8, f32, fC32)
Cleared to â0â when interrupt request is accepted, or cleaerd by software
Note 1: The 8-bit prescaler counts the count source.
Note 2: The 8-bit pulse width modulator counts the 8-bit prescaler's underflow signal.
Note 3: m = 0016 to FF16; n = 0016 to FE16.
Note 4: Timer A1 and A2 do not have I/O port (TAiIN and TAiOUT).
Figure 1.13.13. Example of how an 8-bit pulse width modulator operates
79
|
▷ |