![Texas Instruments TMS320x2823x Скачать руководство пользователя страница 99](http://html1.mh-extra.com/html/texas-instruments/tms320x2823x/tms320x2823x_reference-manual_1095205099.webp)
www.ti.com
Registers
Table 31. Action-Qualifier Output B Control Register (AQCTLB) 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 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.
Figure 74. Action-Qualifier Software Force Register (AQSFRC)
15
8
Reserved
R-0
7
6
5
4
3
2
1
0
RLDCSF
OTSFB
ACTSFB
OTSFA
ACTSFA
R/W-0
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 32. Action-Qualifier Software Force Register (AQSFRC) Field Descriptions
Bit
Field
Value
Description
15:8
Reserved
7:6
RLDCSF
AQCSFRC Active Register Reload From Shadow Options
00
Load on event counter equals zero
01
Load on event counter equals period
10
Load on event counter equals zero or counter equals period
11
Load immediately (the active register is directly accessed by the CPU and is not loaded from the
shadow register).
5
OTSFB
One-Time Software Forced Event on Output B
0
Writing a 0 (zero) has no effect. Always reads back a 0
This bit is auto cleared once a write to this register is complete, i.e., a forced event is initiated.)
This is a one-shot forced event. It can be overridden by another subsequent event on output B.
1
Initiates a single s/w forced event
99
SPRUG04A – October 2008 – Revised July 2009
TMS320x2833x, 2823x Enhanced Pulse Width Modulator (ePWM) Module
© 2008–2009, Texas Instruments Incorporated