Datasheet
www.ti.com
ePWM Registers
34.4.3.3 Action-Qualifier Output B Control Register (AQCTLB)
Figure 34-73. Action-Qualifier Output B Control Register (AQCTLB) [offset = 18h]
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 34-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 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 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 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 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 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 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.
1797
SPNU562–May 2014 Enhanced Pulse Width Modulator (ePWM) Module
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated