|
M30222 Datasheet, PDF (81/237 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER | |||
|
◁ |
deUvnedloepr ment
MITSUBISHI MICROCOMPUTERS
Specifications in this manual are tentative and subject to change
M30222 Group
Rev. G
Timer A
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Condition : Reload register = 0003 16 , when external trigger
(rising edge of TA iIN pin input signal) is selected
1 / fi X (2 16 â 1)
Count source
TA iIN pin
âHâ
input signal
âLâ
PWM pulse output âHâ
from TA iOUT pin
âLâ
Timer Ai interrupt â1â
request bit
â0â
Trigger is not generated by this signal
Note: n = 0000
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: n = 000016 to FFFE16
Fig. 1.56. 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
Count source (Note1)
1 / fi X (m + 1) X (2 8â 1)
TA iIN pin input signal âHâ
âLâ
Underflow signal of
âHâ
8-bit prescaler (Note2) âLâ
PWM pulse output
âHâ
from TA iOUT 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 cleared 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 FE16; n = 0016 to FE16
Fig. 1.57. Example of how an 8-bit pulse width modulator operates
1-82
|
▷ |