ePWM Registers
2080
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Enhanced Pulse Width Modulator (ePWM) Module
35.4.3.3 Action-Qualifier Output B Control Register (AQCTLB)
Figure 35-73. Action-Qualifier Output B Control Register (AQCTLB) [offset = 1Ah]
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 35-33. Action-Qualifier Output B Control Register (AQCTLB) Field Descriptions
Bits
Name
Value
Description
15-12
Reserved
0
Reserved
11-10
CBD
Action when the counter equals the active CMPB register and the counter is decrementing.
0
Do nothing (action is disabled).
1h
Clear: force EPWMxB output low.
2h
Set: force EPWMxB output high.
3h
Toggle EPWMxB 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.
0
Do nothing (action is disabled).
1h
Clear: force EPWMxB output low.
2h
Set: force EPWMxB output high.
3h
Toggle EPWMxB 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.
0
Do nothing (action is disabled).
1h
Clear: force EPWMxB output low.
2h
Set: force EPWMxB output high.
3h
Toggle EPWMxB 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.
0
Do nothing (action is disabled).
1h
Clear: force EPWMxB output low.
2h
Set: force EPWMxB output high.
3h
Toggle EPWMxB 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.
0
Do nothing (action is disabled).
1h
Clear: force EPWMxB output low.
2h
Set: force EPWMxB output high.
3h
Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.
1-0
ZRO
Action when counter equals zero.
Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1
or counting up.
0
Do nothing (action is disabled).
1h
Clear: force EPWMxB output low.
2h
Set: force EPWMxB output high.
3h
Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.