timers-012
Timer clock
Internal overflow pulse
Internal match pulse
Timer PWM (TRG = 0b01 and PT = 0)
Timer PWM (TRG = 0b10 and PT = 0)
Timer PWM (TRG = 0b10 and PT = 1)
Timer PWM (TRG = 0b01 and PT = 1)
timers-013
Timer clock
Internal overflow pulse
Internal match pulse
Timer PWM
(TRG = 0b01 and PT = 0)
Timer PWM
(TRG = 0b10 and PT = 0)
Timer PWM
(TRG = 0b10 and PT = 1)
Timer PWM
(TRG = 0b01 and PT = 1)
First
match
event
ignored
Set-up mode sequence
Public Version
General-Purpose Timers
www.ti.com
Figure 16-12. Timing Diagram of PWM With GPTi.TCLR[7] SCPWM Bit = 0
Figure 16-13. Timing Diagram of PWM With GPTi.TCLR[7] SCPWM Bit = 1
16.2.4.7 Timer Counting Rate
The timer rate is defined by the following values:
•
Value of the prescaler fields (GPTi.
[5] PRE bit and GPTi.
[4:2] PTV field)
•
Value loaded into the timer load register (GPTi.
lists prescaler clock ratio values.
Table 16-10. Prescaler Clock Ratio Values
GPTi.
[5] PRE
GPTi.
[4:2] PTV
Divisor (PS)
0
X
1
1
0
2
1
1
4
1
2
8
1
3
16
1
4
32
2720Timers
SWPU177N – December 2009 – Revised November 2010
Copyright © 2009–2010, Texas Instruments Incorporated