EasyManua.ls Logo

Texas Instruments TMS570LC4357

Texas Instruments TMS570LC4357
2208 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ePWM Registers
www.ti.com
2094
SPNU563AMarch 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
Enhanced Pulse Width Modulator (ePWM) Module
Table 35-45. Event-Trigger Selection Register (ETSEL) Field Descriptions (continued)
Bits Name Value Description
2-0 INTSEL ePWM Interrupt (EPWMx_INT) Selection Options.
0 Reserved
1h Enable event time-base counter equal to zero. (TBCTR = 0x0000).
2h Enable event time-base counter equal to period (TBCTR = TBPRD).
3h Enable event time-base counter equal to zero or period (TBCTR = 0x0000 or TBCTR = TBPRD).
This mode is useful in up-down count mode.
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.
35.4.6.2 Event-Trigger Flag Register (ETFLG)
Figure 35-86. Event-Trigger Flag Register (ETFLG) [offset = 34h]
15 8
Reserved
R-0
7 4 3 2 1 0
Reserved SOCB SOCA Reserved INT
R-0 R-0 R-0 R-0 R-0
LEGEND: R = Read only; -n = value after reset
Table 35-46. Event-Trigger Flag Register (ETFLG) Field Descriptions
Bits Name Value Description
15-4 Reserved 0 Reserved
3 SOCB Latched ePWM ADC Start-of-Conversion B (EPWMxSOCB) Status Flag.
0 No EPWMxSOCB event occurred.
1 A start of conversion pulse was generated on EPWMxSOCB. The EPWMxSOCB output will
continue to be generated even if the flag bit is set.
2 SOCA Latched ePWM ADC Start-of-Conversion A (EPWMxSOCA) Status Flag.
Unlike the ETFLG[INT] flag, the EPWMxSOCA output will continue to pulse even if the flag bit is
set.
0 No event occurred.
1 A start of conversion pulse was generated on EPWMxSOCA. The EPWMxSOCA output will
continue to be generated even if the flag bit is set.
1 Reserved 0 Reserved
0 INT Latched ePWM Interrupt (EPWMx_INT) Status Flag.
0 No event occurred.
1 An ePWMx interrupt (EWPMx_INT) was generated. No further interrupts will be generated until the
flag bit is cleared. Up to one interrupt can be pending while the ETFLG[INT] bit is still set. If an
interrupt is pending, it will not be generated until after the ETFLG[INT] bit is cleared. Refer to
Figure 35-41.

Table of Contents

Related product manuals