Registers
749
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced Pulse Width Modulator (ePWM) Module
7.4.3 Action-Qualifier Submodule Registers
through
and
through
provide the action-qualifier
submodule register definitions.
Figure 7-99. Action-Qualifier Output A Control Register and Mirror Register (AQCTLA / AQCTLAM)
15
12
11
10
9
8
Reserved
CBD
CBU
R-0
R/W-0
R/W-0
7
6
5
4
3
2
1
0
CAD
CAU
PRD
ZRO
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 7-49. Action-Qualifier Output A Control Register and Mirror Register (AQCTLA / AQCTLAM)
Field Descriptions
Bit
Field
Value
Description
15-12
Reserved
Reserved
11-10
CBD
Action when the time-base counter equals the active CMPB register and the counter is
decrementing.
00
Do nothing (action disabled)
01
Clear: force EPWMxA output low.
10
Set: force EPWMxA output high.
11
Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.
9-8
CBU
Action when the counter equals the active CMPB register and the counter is incrementing.
00
Do nothing (action disabled)
01
Clear: force EPWMxA output low.
10
Set: force EPWMxA output high.
11
Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.
7-6
CAD
Action when the counter equals the active CMPA register and the counter is decrementing.
00
Do nothing (action disabled)
01
Clear: force EPWMxA output low.
10
Set: force EPWMxA output high.
11
Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.
5-4
CAU
Action when the counter equals the active CMPA register and the counter is incrementing.
00
Do nothing (action disabled)
01
Clear: force EPWMxA output low.
10
Set: force EPWMxA output high.
11
Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.
3-2
PRD
Action when the counter equals the period.
Note: By definition, in count up-down mode when the counter equals period the direction is defined
as 0 or counting down.
00
Do nothing (action disabled)
01
Clear: force EPWMxA output low.
10
Set: force EPWMxA output high.
11
Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.