|
M16C6K9 Datasheet, PDF (90/292 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER | |||
|
◁ |
M16C/6K9 Group
Timer A
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: n = 000016 to FFFE16.
Fig.FB-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 (2 8 â 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 Cleared to â0â when interrupt request is accepted, or cleared by software
(f1, f8, f32, fC32)
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.FB-13 Example of how an 8-bit pulse width modulator operates
Rev.1.00 Jun 06, 2003 page 90 of 290
|
▷ |