|
M16C28 Datasheet, PDF (133/423 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES | |||
|
◁ |
M16C/28 Group (M16C/28, M16C/28B)
12. Timer
1 / fi X (2 16 â 1)
Count source
Input signal to
âHâ
TAiIN pin
âLâ
PWM pulse output âHâ
from TAiOUT pin
âLâ
IR bit of TAiIC
â1â
register
â0â
Trigger is not generated by this signal
1 / fj X 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 program
NOTES:
1. n = 000016 to FFFE16.
2. This timing diagram is for the case where the TAi register is "000316", the TAiTGH and TAiTGL bits in the
ONSF or TRGSR register is set to "002" (TAiIN pin input), the MR1 bit in the TAiMR register is set to "1" (rising
edge), and the MR2 bit in the TAiMR register is set to "1" (trigger selected by TAiTGH and TAiTGL bits).
Figure 12.13 Example of 16-bit Pulse Width Modulator Operation
Count source (1)
1 / fj X (m + 1) X (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 of TAiIC
â1â
register
â0â
1 / fj X (m + 1)
1 / fj X (m + 1) X 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 program
NOTES:
1. The 8-bit prescaler counts the count source.
2. The 8-bit pulse width modulator counts the 8-bit prescaler's underflow signal.
3. m = 0016 to FF16; n = 0016 to FE16.
4. This timing diagram is for the case where the TAi register is "020216", the TAiTGH and TAiTGL bits in the ONSF
or TRGSR register is set to "002"(TAiIN pin input), the MR1 bit in the TAiMR register is set to "0" (falling edge), and
the MR2 bit in the TAiMR register is set to "1" (trigger selected by TAiTGH and TAiTGL bits).
Figure 12.14 Example of 8-bit Pulse Width Modulator Operation
Rev. 2.00 Jan. 31, 2007 page 113 of 385
REJ09B0047-0200
|
▷ |