|
M16C62P_06 Datasheet, PDF (170/421 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES | |||
|
◁ |
M16C/62P Group (M16C/62P, M16C/62PT)
15. Timers
1 / fi à (216 â 1)
Count source
Input signal to
âHâ
TAiIN pin
âLâ
PWM pulse output âHâ
from TAiOUT pin âLâ
IR bit in TAiIC
â1â
register
â0â
Trigger is not generated by this signal
1 / fj à n
fj : Frequency of count source
(f1, f2, f8, f32, fC32)
i = 0 to 4
Set to â0â upon accepting an interrupt request or by writing in program
NOTES :
1. n = 0000h to FFFEh.
2. This timing diagram is for the case where the TAi register is â0003hâ, the TAiTGH and TAiTGL bits in the ONSF or TRGSR
register = 00b (TAiIN pin input), the MR1 bit of TAiMR register = 1 (rising edge), and the MR2 bit in the TAiMR register = 1
(trigger selected by TAiTGH and TAiTGL bits).
Figure 15.14 Example of 16-bit Pulse Width Modulator Operation
Count source (1)
1 / fj à (m + 1) à (28 - 1)
Input signal to
âHâ
TAiIN pin
âLâ
Underflow signal of âHâ
8-bit prescaler (2)
âLâ
PWM pulse output âHâ
from TAiOUT pin
âLâ
IR bit in TAiIC
â1â
register
â0â
1 / fj à (m + 1)
1 / fj à (m + 1) à n
fj : Frequency of count source
(f1, f2, f8, f32, fC32)
i = 0 to 4
Set to â0â upon accepting an interrupt request or by writing in program
NOTES :
1. The 8-bit prescaler counts the count source.
2. The 8-bit pulse width modulator counts the output from the 8-bit prescaler underflow signal.
3. m = 00h to FFh; n = 00h to FEh.
4. This timing diagram is for the case where the TAi register is â0202hâ, the TAiTGH and TAiTGL bits in the ONSF or TRGSR
register = 00b (TAiIN pin input), the MR1 bit in the TAiMR register = 0 (falling edge), and the MR2 bit in the TAiMR register
= 1 (trigger selected by TAiTGH and TAiTGL bits).
Figure 15.15 Example of 8-bit Pulse Width Modulator Operation
Rev.2.41 Jan 10, 2006 Page 155 of 390
REJ09B0185-0241
|
▷ |