![Texas Instruments TMS320x2823x Скачать руководство пользователя страница 98](http://html1.mh-extra.com/html/texas-instruments/tms320x2823x/tms320x2823x_reference-manual_1095205098.webp)
Registers
www.ti.com
Table 30. Action-Qualifier Output A Control Register (AQCTLA) Field Descriptions (continued)
Bits
Name
Value Description
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.
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.
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.
Figure 73. Action-Qualifier Output B Control Register (AQCTLB)
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 31. Action-Qualifier Output B Control Register (AQCTLB) Field Descriptions
Bits
Name
Value Description
15-12
Reserved
11-10
CBD
Action when the counter equals the active CMPB register and the counter is decrementing.
00
Do nothing (action disabled)
01
Clear: force EPWMxB output low.
10
Set: force EPWMxB output high.
11
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.
00
Do nothing (action disabled)
01
Clear: force EPWMxB output low.
10
Set: force EPWMxB output high.
11
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.
00
Do nothing (action disabled)
01
Clear: force EPWMxB output low.
10
Set: force EPWMxB output high.
11
Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.
98
TMS320x2833x, 2823x Enhanced Pulse Width Modulator (ePWM) Module
SPRUG04A – October 2008 – Revised July 2009
© 2008–2009, Texas Instruments Incorporated