Enhanced PWM (ePWM) Module
Table 15-62. Time-Base Phase Register (TBPHS) Field Descriptions
Bits
Name
Value
Description
15-0
TBPHS
0-FFFFh
These bits set time-base counter phase of the selected ePWM relative to the time-base that is supplying
the synchronization input signal.
• If TBCTL[PHSEN] = 0, then the synchronization event is ignored and the time-base counter is not
loaded with the phase.
• If TBCTL[PHSEN] = 1, then the time-base counter (TBCNT) will be loaded with the phase (TBPHS)
when a synchronization event occurs. The synchronization event can be initiated by the input
synchronization signal (EPWMxSYNCI) or by a software forced synchronization.
15.2.4.1.4 Time-Base Counter Register (TBCNT)
The time-base counter register (TBCNT) is shown in
and described in
Figure 15-73. Time-Base Counter Register (TBCNT)
15
0
TBCNT
R/W-0
LEGEND: R/W = Read/Write; -n = value after reset
Table 15-63. Time-Base Counter Register (TBCNT) Field Descriptions
Bits
Name
Value
Description
15-0
TBCNT
0-FFFFh
Reading these bits gives the current time-base counter value.
Writing to these bits sets the current time-base counter value. The update happens as soon as the write
occurs; the write is NOT synchronized to the time-base clock (TBCLK) and the register is not
shadowed.
1585
SPRUH73H – October 2011 – Revised April 2013
Pulse-Width Modulation Subsystem (PWMSS)
Copyright © 2011–2013, Texas Instruments Incorporated