Registers
821
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced Pulse Width Modulator (ePWM) Module
Table 7-86. Event-Trigger Interrupt Pre-Scale Register (ETINTPS) Field Descriptions (continued)
Bit
Field
Value
Description
3-0
INTPRD2
EPWMxINT Period 2 Select
When ETPS[INTPSSEL] = 1, these bits select how many selected events need to occur before an
interrupt is generated:
0000
Disable counter
0001
Generate interrupt on INTCNT = 1 (first event)
0010
Generate interrupt on INTCNT = 2 (second event)
0011
Generate interrupt on INTCNT = 3 (third event)
0100
Generate interrupt on INTCNT = 4 (fourth event)
. . .
. . .
1111
Generate interrupt on INTCNT = 15 (fifteenth event)
Figure 7-135. Event-Trigger SOC Pre-Scale Register (ETSOCPS)
15
12
11
8
SOCBCNT2
SOCBPRD2
R-0:0
R/W-0:0
7
4
3
0
SOCACNT2
SOCAPRD2
R-0:0
R/W-0:0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 7-87. Event-Trigger SOC Pre-Scale Register (ETSOCPS) Field Descriptions
Bit
Field
Value
Description
15-12
SOCBCNT2
EPWMxSOCB Counter 2
When ETPS[SOCPSSEL] = 1, these bits indicate how many selected events have occurred:
0000
No events
0001
1 event
0010
2 events
0011
3 events
0100
4 events
. . .
. . .
1111
15 events
11-8
SOCBPRD2
EPWMxSOCB Period 2 Select
When ETPS[SOCPSSEL] = 1, these bits select how many selected event need to occur before an
SOCB pulse is generated:
0000
Disable counter
0001
Generate interrupt on SOCBCNT2 = 1 (first event)
0010
Generate interrupt on SOCBCNT2 = 2 (second event)
0011
Generate interrupt on SOCBCNT2 = 3 (third event)
0100
Generate interrupt on SOCBCNT2 = 4 (fourth event)
. . .
. . .
1111
Generate interrupt on SOCBCNT2 = 15 (fifteenth event)