Enhanced PWM (ePWM) Module
www.ti.com
15.2.4.6 Event-Trigger Submodule Registers
Table 15-85 lists the memory-mapped registers for the event-trigger submodule. See your device-specific
data manual for the memory address of these registers. All other register offset addresses not listed in
Table 15-85 should be considered as reserved locations and the register contents should not be modified.
Table 15-85. Event-Trigger Submodule Registers
Offset Acronym Register Description Section
32h ETSEL Event-Trigger Selection Register Section 15.2.4.6.1
34h ETPS Event-Trigger Prescale Register Section 15.2.4.6.2
36h ETFLG Event-Trigger Flag Register Section 15.2.4.6.3
38h ETCLR Event-Trigger Clear Register Section 15.2.4.6.4
3Ah ETFRC Event-Trigger Force Register Section 15.2.4.6.5
15.2.4.6.1 Event-Trigger Selection Register (ETSEL)
The event-trigger selection register (ETSEL) is shown in Figure 15-91 and described in Table 15-86.
Figure 15-91. Event-Trigger Selection Register (ETSEL)
15 4 3 2 0
Reserved INTEN INTSEL
R-0 R/W-0 R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 15-86. Event-Trigger Selection Register (ETSEL) Field Descriptions
Bits Name Value Description
15-4 Reserved 0 Reserved
3 INTEN Enable ePWM Interrupt (EPWMx_INT) Generation
0 Disable EPWMx_INT generation
1 Enable EPWMx_INT generation
2-0 INTSEL 0-7h ePWM Interrupt (EPWMx_INT) Selection Options
0 Reserved
1h Enable event time-base counter equal to zero. (TBCNT = 0000h)
2h Enable event time-base counter equal to period (TBCNT = TBPRD)
3h Reserved
4h Enable event time-base counter equal to CMPA when the timer is incrementing.
5h Enable event time-base counter equal to CMPA when the timer is decrementing.
6h Enable event: time-base counter equal to CMPB when the timer is incrementing.
7h Enable event: time-base counter equal to CMPB when the timer is decrementing.
1600
Pulse-Width Modulation Subsystem (PWMSS) SPRUH73H–October 2011–Revised April 2013
Submit Documentation Feedback
Copyright © 2011–2013, Texas Instruments Incorporated