|
MotorWare f2806x Driver API Documentation
|
Contains the various functions related to the pulse width modulation (PWM) object. More...
#include "sw/drivers/pwm/src/32b/f28x/f2806x/pwm.h"Go to the source code of this file.
Functions | |
| void | PWM_clearTripZone (PWM_Handle pwmHandle, const PWM_TripZoneFlag_e tripZoneFlag) |
| Clears the trip zone (TZ) flag specified. More... | |
| void | PWM_decrementDeadBandFallingEdgeDelay (PWM_Handle pwmHandle) |
| Decrement the dead band falling edge delay. More... | |
| void | PWM_decrementDeadBandRisingEdgeDelay (PWM_Handle pwmHandle) |
| Decrement the dead band rising edge delay. More... | |
| void | PWM_disableAutoConvert (PWM_Handle pwmHandle) |
| Disables auto conversion of delay line value. More... | |
| void | PWM_disableChopping (PWM_Handle pwmHandle) |
| Disables the pulse width modulation (PWM) chopping. More... | |
| void | PWM_disableCounterLoad (PWM_Handle pwmHandle) |
| Disables the pulse width modulation (PWM) counter loading from the phase register. More... | |
| void | PWM_disableDeadBand (PWM_Handle pwmHandle) |
| Disables the pulse width modulation (PWM) deadband. More... | |
| void | PWM_disableDeadBandHalfCycle (PWM_Handle pwmHandle) |
| Disables the pulse width modulation (PWM) deadband half cycle clocking. More... | |
| void | PWM_disableDigitalCompareBlankingWindow (PWM_Handle pwmHandle) |
| Disables the pulse width modulation (PWM) digital compare blanking window. More... | |
| void | PWM_disableDigitalCompareBlankingWindowInversion (PWM_Handle pwmHandle) |
| Disables the pulse width modulation (PWM) digital compare blanking window inversion. More... | |
| void | PWM_disableHrPeriod (PWM_Handle pwmHandle) |
| Disables high resolution period control. More... | |
| void | PWM_disableHrPhaseSync (PWM_Handle pwmHandle) |
| Disables high resolution phase synchronization. More... | |
| void | PWM_disableInt (PWM_Handle pwmHandle) |
| Disables the pulse width modulation (PWM) interrupt. More... | |
| void | PWM_disableSocAPulse (PWM_Handle pwmHandle) |
| Disables the pulse width modulation (PWM) start of conversion (SOC) B pulse generation. More... | |
| void | PWM_disableSocBPulse (PWM_Handle pwmHandle) |
| Disables the pulse width modulation (PWM) start of conversion (SOC) B pulse generation. More... | |
| void | PWM_disableTripZones (PWM_Handle pwmHandle) |
| Disables the pulse width modulation (PWM) trip zones. More... | |
| void | PWM_disableTripZoneInt (PWM_Handle pwmHandle, const PWM_TripZoneFlag_e interruptSource) |
| Disables the pulse width modulation (PWM) trip zones interrupts. More... | |
| void | PWM_disableTripZoneSrc (PWM_Handle pwmHandle, const PWM_TripZoneSrc_e src) |
| Disable the pulse width modulation (PWM) trip zone source. More... | |
| void | PWM_enableAutoConvert (PWM_Handle pwmHandle) |
| Enables auto conversion of delay line value. More... | |
| void | PWM_enableChopping (PWM_Handle pwmHandle) |
| Enables the pulse width modulation (PWM) chopping. More... | |
| void | PWM_enableCounterLoad (PWM_Handle pwmHandle) |
| Enables the pulse width modulation (PWM) counter loading from the phase register. More... | |
| void | PWM_enableDeadBandHalfCycle (PWM_Handle pwmHandle) |
| Enables the pulse width modulation (PWM) deadband half cycle clocking. More... | |
| void | PWM_enableDigitalCompareBlankingWindow (PWM_Handle pwmHandle) |
| Enables the pulse width modulation (PWM) digital compare blanking window. More... | |
| void | PWM_enableDigitalCompareBlankingWindowInversion (PWM_Handle pwmHandle) |
| Enables the pulse width modulation (PWM) digital compare blanking window inversion. More... | |
| void | PWM_enableHrPeriod (PWM_Handle pwmHandle) |
| Enables high resolution period control. More... | |
| void | PWM_enableInt (PWM_Handle pwmHandle) |
| Enables the pulse width modulation (PWM) interrupt. More... | |
| void | PWM_enableHrPhaseSync (PWM_Handle pwmHandle) |
| Enables high resolution phase synchronization. More... | |
| void | PWM_enableSocAPulse (PWM_Handle pwmHandle) |
| Enables the pulse width modulation (PWM) start of conversion (SOC) A pulse generation. More... | |
| void | PWM_enableSocBPulse (PWM_Handle pwmHandle) |
| Enables the pulse width modulation (PWM) start of conversion (SOC) B pulse generation. More... | |
| void | PWM_enableTripZoneInt (PWM_Handle pwmHandle, const PWM_TripZoneFlag_e interruptSource) |
| Enables the pulse width modulation (PWM) trip zones interrupts. More... | |
| void | PWM_enableTripZoneSrc (PWM_Handle pwmHandle, const PWM_TripZoneSrc_e src) |
| Enable the pulse width modulation (PWM) trip zone source. More... | |
| uint16_t | PWM_getDeadBandFallingEdgeDelay (PWM_Handle pwmHandle) |
| Gets the pulse width modulation (PWM) deadband falling edge delay. More... | |
| uint16_t | PWM_getDeadBandRisingEdgeDelay (PWM_Handle pwmHandle) |
| Gets the pulse width modulation (PWM) deadband rising edge delay. More... | |
| uint16_t | PWM_getIntCount (PWM_Handle pwmHandle) |
| Gets the pulse width modulation (PWM) interrupt event count. More... | |
| uint16_t | PWM_getSocACount (PWM_Handle pwmHandle) |
| Gets the pulse width modulation (PWM) start of conversion (SOC) A count. More... | |
| uint16_t | PWM_getSocBCount (PWM_Handle pwmHandle) |
| Gets the pulse width modulation (PWM) start of conversion (SOC) B count. More... | |
| PWM_ShadowStatus_e | PWM_getShadowStatus_CmpA (PWM_Handle pwmHandle) |
| PWM_ShadowStatus_e | PWM_getShadowStatus_CmpB (PWM_Handle pwmHandle) |
| void | PWM_setHrControlMode (PWM_Handle pwmHandle, const PWM_HrControlMode_e controlMode) |
| Set the High Resolution Control Mode. More... | |
| void | PWM_setHrEdgeMode (PWM_Handle pwmHandle, const PWM_HrEdgeMode_e edgeMode) |
| Set the High Resolution Edge Mode. More... | |
| void | PWM_setHrShadowMode (PWM_Handle pwmHandle, const PWM_HrShadowMode_e shadowMode) |
| Set the High Resolution Shadow Load Mode. More... | |
| void | PWM_incrementDeadBandFallingEdgeDelay (PWM_Handle pwmHandle) |
| Increment the dead band falling edge delay. More... | |
| void | PWM_incrementDeadBandRisingEdgeDelay (PWM_Handle pwmHandle) |
| Increment the dead band rising edge delay. More... | |
| PWM_Handle | PWM_init (void *pMemory, const size_t numBytes) |
| Initializes the pulse width modulation (PWM) object handle. More... | |
| void | PWM_setActionQual_CntDown_CmpA_PwmA (PWM_Handle pwmHandle, const PWM_ActionQual_e actionQual) |
| Sets the pulse width modulation (PWM) object action for PWM A when the counter equals CMPA and the counter is decrementing. More... | |
| void | PWM_setActionQual_CntDown_CmpA_PwmB (PWM_Handle pwmHandle, const PWM_ActionQual_e actionQual) |
| Sets the pulse width modulation (PWM) object action for PWM B when the counter equals CMPA and the counter is decrementing. More... | |
| void | PWM_setActionQual_CntDown_CmpB_PwmA (PWM_Handle pwmHandle, const PWM_ActionQual_e actionQual) |
| Sets the pulse width modulation (PWM) object action for PWM A when the counter equals CMPB and the counter is decrementing. More... | |
| void | PWM_setActionQual_CntDown_CmpB_PwmB (PWM_Handle pwmHandle, const PWM_ActionQual_e actionQual) |
| Sets the pulse width modulation (PWM) object action for PWM B when the counter equals CMPB and the counter is decrementing. More... | |
| void | PWM_setActionQual_CntUp_CmpA_PwmA (PWM_Handle pwmHandle, const PWM_ActionQual_e actionQual) |
| Sets the pulse width modulation (PWM) object action for PWM A when the counter equals CMPA and the counter is incrementing. More... | |
| void | PWM_setActionQual_CntUp_CmpA_PwmB (PWM_Handle pwmHandle, const PWM_ActionQual_e actionQual) |
| Sets the pulse width modulation (PWM) object action for PWM B when the counter equals CMPA and the counter is incrementing. More... | |
| void | PWM_setActionQual_CntUp_CmpB_PwmA (PWM_Handle pwmHandle, const PWM_ActionQual_e actionQual) |
| Sets the pulse width modulation (PWM) object action for PWM A when the counter equals CMPB and the counter is incrementing. More... | |
| void | PWM_setActionQual_CntUp_CmpB_PwmB (PWM_Handle pwmHandle, const PWM_ActionQual_e actionQual) |
| Sets the pulse width modulation (PWM) object action for PWM B when the counter equals CMPB and the counter is incrementing. More... | |
| void | PWM_setActionQualContSWForce_PwmA (PWM_Handle pwmHandle, const PWM_ActionQualContSWForce_e actionQualContSWForce) |
| Sets the pulse width modulation (PWM) object Continuous Software Force action for PWM A. More... | |
| void | PWM_setActionQualContSWForce_PwmB (PWM_Handle pwmHandle, const PWM_ActionQualContSWForce_e actionQualContSWForce) |
| Sets the pulse width modulation (PWM) object Continuous Software Force action for PWM B. More... | |
| void | PWM_setActionQual_Period_PwmA (PWM_Handle pwmHandle, const PWM_ActionQual_e actionQual) |
| Sets the pulse width modulation (PWM) object action for PWM A when the counter equals the period. More... | |
| void | PWM_setActionQual_Period_PwmB (PWM_Handle pwmHandle, const PWM_ActionQual_e actionQual) |
| Sets the pulse width modulation (PWM) object action for PWM B when the counter equals the period. More... | |
| void | PWM_setActionQual_Zero_PwmA (PWM_Handle pwmHandle, const PWM_ActionQual_e actionQual) |
| Sets the pulse width modulation (PWM) object action for PWM A when the counter equals the zero. More... | |
| void | PWM_setActionQual_Zero_PwmB (PWM_Handle pwmHandle, const PWM_ActionQual_e actionQual) |
| Sets the pulse width modulation (PWM) object action for PWM B when the counter equals the zero. More... | |
| void | PWM_setChoppingClkFreq (PWM_Handle pwmHandle, const PWM_ChoppingClkFreq_e clkFreq) |
| Sets the pulse width modulation (PWM) chopping clock frequency. More... | |
| void | PWM_setChoppingDutyCycle (PWM_Handle pwmHandle, const PWM_ChoppingDutyCycle_e dutyCycle) |
| Sets the pulse width modulation (PWM) chopping clock duty cycle. More... | |
| void | PWM_setChoppingPulseWidth (PWM_Handle pwmHandle, const PWM_ChoppingPulseWidth_e pulseWidth) |
| Sets the pulse width modulation (PWM) chopping clock pulse width. More... | |
| void | PWM_setClkDiv (PWM_Handle pwmHandle, const PWM_ClkDiv_e clkDiv) |
| Sets the pulse width modulation (PWM) clock divisor. More... | |
| void | PWM_setCount (PWM_Handle pwmHandle, const uint16_t count) |
| Sets the pulse width modulation (PWM) count. More... | |
| void | PWM_setCounterMode (PWM_Handle pwmHandle, const PWM_CounterMode_e counterMode) |
| Sets the pulse width modulation (PWM) counter mode. More... | |
| void | PWM_setDeadBandFallingEdgeDelay (PWM_Handle pwmHandle, const uint16_t delay) |
| Sets the pulse width modulation (PWM) deadband falling edge delay. More... | |
| void | PWM_setDeadBandInputMode (PWM_Handle pwmHandle, const PWM_DeadBandInputMode_e inputMode) |
| Sets the pulse width modulation (PWM) deadband input mode. More... | |
| void | PWM_setDeadBandOutputMode (PWM_Handle pwmHandle, const PWM_DeadBandOutputMode_e outputMode) |
| Sets the pulse width modulation (PWM) deadband output mode. More... | |
| void | PWM_setDeadBandPolarity (PWM_Handle pwmHandle, const PWM_DeadBandPolarity_e polarity) |
| Sets the pulse width modulation (PWM) deadband polarity. More... | |
| void | PWM_setDeadBandRisingEdgeDelay (PWM_Handle pwmHandle, const uint16_t delay) |
| Sets the pulse width modulation (PWM) deadband rising edge delay. More... | |
| void | PWM_setDigitalCompareFilterSource (PWM_Handle pwmHandle, const PWM_DigitalCompare_FilterSrc_e input) |
| Sets the pulse width modulation (PWM) digital compare filter source. More... | |
| void | PWM_setDigitalCompareBlankingPulse (PWM_Handle pwmHandle, const PWM_DigitalCompare_PulseSel_e pulseSelect) |
| Sets the pulse width modulation (PWM) digital compare blanking pulse. More... | |
| void | PWM_setDigitalCompareFilterOffset (PWM_Handle pwmHandle, const uint16_t offset) |
| Sets the pulse width modulation (PWM) digital compare filter offset. More... | |
| void | PWM_setDigitalCompareFilterWindow (PWM_Handle pwmHandle, const uint16_t window) |
| Sets the pulse width modulation (PWM) digital compare filter offset. More... | |
| void | PWM_setDigitalCompareInput (PWM_Handle pwmHandle, const PWM_DigitalCompare_Input_e input, const PWM_DigitalCompare_InputSel_e inputSel) |
| Sets the pulse width modulation (PWM) digital compare input. More... | |
| void | PWM_setDigitalCompareAEvent1 (PWM_Handle pwmHandle, const bool selectFilter, const bool disableSync, const bool enableSoc, const bool generateSync) |
| Sets the pulse width modulation (PWM) digital compare A event 1 source parameters. More... | |
| void | PWM_setDigitalCompareAEvent2 (PWM_Handle pwmHandle, const bool selectFilter, const bool disableSync) |
| Sets the pulse width modulation (PWM) digital compare A event 2 source parameters. More... | |
| void | PWM_setDigitalCompareBEvent1 (PWM_Handle pwmHandle, const bool selectFilter, const bool disableSync, const bool enableSoc, const bool generateSync) |
| Sets the pulse width modulation (PWM) digital compare B event 1 source parameters. More... | |
| void | PWM_setDigitalCompareBEvent2 (PWM_Handle pwmHandle, const bool selectFilter, const bool disableSync) |
| Sets the pulse width modulation (PWM) digital compare B event 2 source parameters. More... | |
| void | PWM_setHighSpeedClkDiv (PWM_Handle pwmHandle, const PWM_HspClkDiv_e clkDiv) |
| Sets the pulse width modulation (PWM) high speed clock divisor. More... | |
| void | PWM_setIntMode (PWM_Handle pwmHandle, const PWM_IntMode_e intMode) |
| Sets the pulse width modulation (PWM) interrupt mode. More... | |
| void | PWM_setIntPeriod (PWM_Handle pwmHandle, const PWM_IntPeriod_e intPeriod) |
| Sets the pulse width modulation (PWM) interrupt period. More... | |
| void | PWM_setLoadMode_CmpA (PWM_Handle pwmHandle, const PWM_LoadMode_e loadMode) |
| Sets the pulse width modulation (PWM) load mode for CMPA. More... | |
| void | PWM_setLoadMode_CmpB (PWM_Handle pwmHandle, const PWM_LoadMode_e loadMode) |
| Sets the pulse width modulation (PWM) load mode for CMPB. More... | |
| void | PWM_setPeriod (PWM_Handle pwmHandle, const uint16_t period) |
| Sets the pulse width modulation (PWM) period. More... | |
| void | PWM_setPeriodHr (PWM_Handle pwmHandle, const uint16_t period) |
| Sets the pulse width modulation (PWM) high resolution period. More... | |
| void | PWM_setPhase (PWM_Handle pwmHandle, const uint16_t phase) |
| Sets the pulse width modulation (PWM) phase. More... | |
| void | PWM_setPhaseDir (PWM_Handle pwmHandle, const PWM_PhaseDir_e phaseDir) |
| Sets the pulse width modulation (PWM) phase direction. More... | |
| void | PWM_setPeriodLoad (PWM_Handle pwmHandle, const PWM_PeriodLoad_e periodLoad) |
| Sets the pulse width modulation (PWM) period load mode. More... | |
| void | PWM_setRunMode (PWM_Handle pwmHandle, const PWM_RunMode_e runMode) |
| Sets the pulse width modulation (PWM) run mode. More... | |
| void | PWM_setSocAPeriod (PWM_Handle pwmHandle, const PWM_SocPeriod_e intPeriod) |
| Sets the pulse width modulation (PWM) start of conversion (SOC) A interrupt period. More... | |
| void | PWM_setSocAPulseSrc (PWM_Handle pwmHandle, const PWM_SocPulseSrc_e pulseSrc) |
| Sets the pulse width modulation (PWM) start of conversion (SOC) A interrupt pulse source. More... | |
| void | PWM_setSocBPeriod (PWM_Handle pwmHandle, const PWM_SocPeriod_e intPeriod) |
| Sets the pulse width modulation (PWM) start of conversion (SOC) B interrupt period. More... | |
| void | PWM_setSocBPulseSrc (PWM_Handle pwmHandle, const PWM_SocPulseSrc_e pulseSrc) |
| Sets the pulse width modulation (PWM) start of conversion (SOC) B interrupt pulse source. More... | |
| void | PWM_setShadowMode_CmpA (PWM_Handle pwmHandle, const PWM_ShadowMode_e shadowMode) |
| Sets the pulse width modulation (PWM) shadow mode for CMPA. More... | |
| void | PWM_setShadowMode_CmpB (PWM_Handle pwmHandle, const PWM_ShadowMode_e shadowMode) |
| Sets the pulse width modulation (PWM) shadow mode for CMPB. More... | |
| void | PWM_setSwSync (PWM_Handle pwmHandle) |
| Sets the pulse width modulation (PWM) software sync. More... | |
| void | PWM_setSyncMode (PWM_Handle pwmHandle, const PWM_SyncMode_e syncMode) |
| Sets the pulse width modulation (PWM) sync mode. More... | |
| void | PWM_setTripZoneDCEventSelect_DCAEVT1 (PWM_Handle pwmHandle, const PWM_TripZoneDCEventSel_e tripZoneEvent) |
| Sets the pulse width modulation (PWM) trip zone digital compare event select for Digital Compare Output A Event 1 (DCAEVT1) More... | |
| void | PWM_setTripZoneDCEventSelect_DCAEVT2 (PWM_Handle pwmHandle, const PWM_TripZoneDCEventSel_e tripZoneEvent) |
| Sets the pulse width modulation (PWM) trip zone digital compare event select for Digital Compare Output A Event 2 (DCAEVT2) More... | |
| void | PWM_setTripZoneDCEventSelect_DCBEVT1 (PWM_Handle pwmHandle, const PWM_TripZoneDCEventSel_e tripZoneEvent) |
| Sets the pulse width modulation (PWM) trip zone digital compare event select for Digital Compare Output B Event 1 (DCBEVT1) More... | |
| void | PWM_setTripZoneDCEventSelect_DCBEVT2 (PWM_Handle pwmHandle, const PWM_TripZoneDCEventSel_e tripZoneEvent) |
| Sets the pulse width modulation (PWM) trip zone digital compare event select for Digital Compare Output B Event 2 (DCBEVT2) More... | |
| void | PWM_setTripZoneState_DCAEVT1 (PWM_Handle pwmHandle, const PWM_TripZoneState_e tripZoneState) |
| Sets the pulse width modulation (PWM) trip zone state for Digital Compare Output A Event 1 (DCAEVT1) More... | |
| void | PWM_setTripZoneState_DCAEVT2 (PWM_Handle pwmHandle, const PWM_TripZoneState_e tripZoneState) |
| Sets the pulse width modulation (PWM) trip zone state for Digital Compare Output A Event 2 (DCAEVT1) More... | |
| void | PWM_setTripZoneState_DCBEVT1 (PWM_Handle pwmHandle, const PWM_TripZoneState_e tripZoneState) |
| Sets the pulse width modulation (PWM) trip zone state for Digital Compare Output B Event 1 (DCBEVT1) More... | |
| void | PWM_setTripZoneState_DCBEVT2 (PWM_Handle pwmHandle, const PWM_TripZoneState_e tripZoneState) |
| Sets the pulse width modulation (PWM) trip zone state for Digital Compare Output B Event 2 (DCBEVT1) More... | |
| void | PWM_setTripZoneState_TZA (PWM_Handle pwmHandle, const PWM_TripZoneState_e tripZoneState) |
| Sets the pulse width modulation (PWM) trip zone state for Output A (TZA) More... | |
| void | PWM_setTripZoneState_TZB (PWM_Handle pwmHandle, const PWM_TripZoneState_e tripZoneState) |
| Sets the pulse width modulation (PWM) trip zone state for Output B (TZB) More... | |
Contains the various functions related to the pulse width modulation (PWM) object.
(C) Copyright 2015, Texas Instruments, Inc.
Definition in file pwm.c.
| PWM_ShadowStatus_e PWM_getShadowStatus_CmpA | ( | PWM_Handle | pwmHandle | ) |
Definition at line 528 of file pwm.c.
References PWM_CMPCTL_SHDWAFULL_BITS, and _PWM_Obj_::TBCTL.
| PWM_ShadowStatus_e PWM_getShadowStatus_CmpB | ( | PWM_Handle | pwmHandle | ) |
Definition at line 543 of file pwm.c.
References PWM_CMPCTL_SHDWAFULL_BITS, and _PWM_Obj_::TBCTL.
1.8.9.1