Enhanced PWM (ePWM) Module
15.2.4.6 Event-Trigger Submodule Registers
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
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
34h
ETPS
Event-Trigger Prescale Register
36h
ETFLG
Event-Trigger Flag Register
38h
ETCLR
Event-Trigger Clear Register
3Ah
ETFRC
Event-Trigger Force Register
15.2.4.6.1 Event-Trigger Selection Register (ETSEL)
The event-trigger selection register (ETSEL) is shown in
and described in
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
Copyright © 2011–2013, Texas Instruments Incorporated