Texas Instruments TMS320x28xx Benutzerhandbuch

Seite von 119
www.ti.com
Action-Qualifier Submodule Registers
Figure 4-10. 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 4-10. 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.
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 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.
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 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.
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 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.
SPRU791D – November 2004 – Revised October 2007
Registers
101