www.ti.com
The
Figure 2-18. Action-Qualifier Submodule Inputs and Outputs
TBCLK
CTR=PRD
CTR=Zero
CTR=CMPA
CTR=CMPB
CTR_dir
AQCTLA[15:0] |
AQCTLB[15:0] |
AQSFRC[15:0] |
AQCSFRC[3:0](shadow) |
continuousS/Wforce |
AQCSFRC[3:0](active) |
continuousS/Wforce |
EPWMA
EPWMB
For convenience, the possible input events are summarized again in Table
Table 2-7. Action-Qualifier Submodule Possible Input Events
Signal | Description | Registers Compared |
CTR = PRD | TBCTR = TBPRD | |
CTR = Zero | TBCTR = 0x0000 | |
CTR = CMPA | TBCTR = CMPA | |
CTR = CMPB | TBCTR = CMPB | |
Software forced event | Asynchronous event initiated by software |
|
The software forced action is a useful asynchronous event. This control is handled by registers AQSFRC and AQCSFRC.
The
The possible actions imposed on outputs EPWMxA and EPWMxB are:
∙Set High:
Set output EPWMxA or EPWMxB to a high level.
∙Clear Low:
Set output EPWMxA or EPWMxB to a low level.
∙Toggle:
If EPWMxA or EPWMxB is currently pulled high, then pull the output low. If EPWMxA or EPWMxB is currently pulled low, then pull the output high.
∙Do Nothing:
Keep outputs EPWMxA and EPWMxB at same level as currently set. Although the "Do Nothing" option prevents an event from causing an action on the EPWMxA and EPWMxB outputs, this event can still trigger interrupts and ADC start of conversion. See the
38 | ePWM Submodules |