|
M30218 Datasheet, PDF (81/179 Pages) Mitsubishi Electric Semiconductor – M30218 Group | |||
|
◁ |
Timer A
Mitsubishi microcomputers
M30218 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Condition : Reload register = 000316, when external trigger
(falling edge of TA0IN pin's input signal) is selected.
1 / fi X (216 â1)
Count source
TA0IN pin's
âHâ
input signal
âLâ
PWM pulse output âHâ
from TA0OUT pin âLâ
Timer A0 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â by software, or when interrupt request is accepted.
Note: n = 000016 to FFFE16.
Figure FB-11. Example of how a 16-bit pulse width modulator operates
Condition : Reload register's high-order 8 bits = 0216
Reload register's low-order bits 8 = 0216
When external trigger (falling edge of TA0IN pin's input signal) is selected.
1 / fi X (m + 1) X (28 â 1)
Count source
(Note 1)
TA0IN pin's input
âHâ
signal
âLâ
Underflow signal of âHâ
8-bit prescaler (Note 2)âLâ
PWM pulse output âHâ
from TA0OUT pin
âLâ
Timer A0 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â by software, or when interrupt request is accepted.
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 FE16; n = 0016 to FE16.
Figure FB-12. Example of how an 8-bit pulse width modulator operates
80
|
▷ |