|
MotorWare f2806x Driver API Documentation
|
Contains public interface to various functions related to the pulse width modulation (PWM) object. More...
Go to the source code of this file.
Data Structures | |
| struct | _PWM_Obj_ |
| Defines the pulse width modulation (PWM) object. More... | |
Macros | |
| #define | PWM_ePWM1_BASE_ADDR (0x00006800) |
| Defines the base address of the pulse width modulation (PWM) 1 registers. More... | |
| #define | PWM_ePWM2_BASE_ADDR (0x00006840) |
| Defines the base address of the pulse width modulation (PWM) 2 registers. More... | |
| #define | PWM_ePWM3_BASE_ADDR (0x00006880) |
| Defines the base address of the pulse width modulation (PWM) 3 registers. More... | |
| #define | PWM_ePWM4_BASE_ADDR (0x000068C0) |
| Defines the base address of the pulse width modulation (PWM) 4 registers. More... | |
| #define | PWM_ePWM5_BASE_ADDR (0x00006900) |
| Defines the base address of the pulse width modulation (PWM) 5 registers. More... | |
| #define | PWM_ePWM6_BASE_ADDR (0x00006940) |
| Defines the base address of the pulse width modulation (PWM) 6 registers. More... | |
| #define | PWM_ePWM7_BASE_ADDR (0x00006980) |
| Defines the base address of the pulse width modulation (PWM) 7 registers. More... | |
| #define | PWM_ePWM8_BASE_ADDR (0x000069C0) |
| Defines the base address of the pulse width modulation (PWM) 8 registers. More... | |
| #define | PWM_AQCTL_ZRO_BITS (3 << 0) |
| Defines the location of the ZRO bits in the AQCTL register. More... | |
| #define | PWM_AQCTL_PRD_BITS (3 << 2) |
| Defines the location of the PRD bits in the AQCTL register. More... | |
| #define | PWM_AQCTL_CAU_BITS (3 << 4) |
| Defines the location of the CAU bits in the AQCTL register. More... | |
| #define | PWM_AQCTL_CAD_BITS (3 << 6) |
| Defines the location of the CAD bits in the AQCTL register. More... | |
| #define | PWM_AQCTL_CBU_BITS (3 << 8) |
| Defines the location of the CBU bits in the AQCTL register. More... | |
| #define | PWM_AQCTL_CBD_BITS (3 << 10) |
| Defines the location of the CBD bits in the AQCTL register. More... | |
| #define | PWM_AQCSFRC_CSFA_BITS (3 << 0) |
| Defines the location of the CSFA bits in the AQCSFRC register. More... | |
| #define | PWM_AQCSFRC_CSFB_BITS (3 << 2) |
| Defines the location of the CSFB bits in the AQCSFRC register. More... | |
| #define | PWM_CMPCTL_LOADAMODE_BITS (3 << 0) |
| Defines the location of the LOADAMODE bits in the CMPCTL register. More... | |
| #define | PWM_CMPCTL_LOADBMODE_BITS (3 << 2) |
| Defines the location of the LOADBMODE bits in the CMPCTL register. More... | |
| #define | PWM_CMPCTL_SHDWAMODE_BITS (1 << 4) |
| Defines the location of the SHDWAMODE bits in the CMPCTL register. More... | |
| #define | PWM_CMPCTL_SHDWBMODE_BITS (1 << 6) |
| Defines the location of the SHDWBMODE bits in the CMPCTL register. More... | |
| #define | PWM_CMPCTL_SHDWAFULL_BITS (1 << 8) |
| Defines the location of the SHDWAFULL bits in the CMPCTL register. More... | |
| #define | PWM_CMPCTL_SHDWBFULL_BITS (1 << 9) |
| Defines the location of the SHDWBFULL bits in the CMPCTL register. More... | |
| #define | PWM_DBCTL_OUTMODE_BITS (3 << 0) |
| Defines the location of the OUTMODE bits in the DBCTL register. More... | |
| #define | PWM_DBCTL_POLSEL_BITS (3 << 2) |
| Defines the location of the POLSEL bits in the DBCTL register. More... | |
| #define | PWM_DBCTL_INMODE_BITS (3 << 4) |
| Defines the location of the INMODE bits in the DBCTL register. More... | |
| #define | PWM_DBCTL_HALFCYCLE_BITS (1 << 15) |
| Defines the location of the HALFCYCLE bits in the DBCTL register. More... | |
| #define | PWM_ETCLR_INT_BITS (1 << 0) |
| Defines the location of the ETCR bits in the ETCLR register. More... | |
| #define | PWM_ETCLR_SOCA_BITS (1 << 2) |
| Defines the location of the SOCA bits in the ETCLR register. More... | |
| #define | PWM_ETCLR_SOCB_BITS (1 << 3) |
| Defines the location of the SOCB bits in the ETCLR register. More... | |
| #define | PWM_ETPS_INTPRD_BITS (3 << 0) |
| Defines the location of the INTPRD bits in the ETPS register. More... | |
| #define | PWM_ETPS_INTCNT_BITS (3 << 2) |
| Defines the location of the INTCNT bits in the ETPS register. More... | |
| #define | PWM_ETPS_SOCAPRD_BITS (3 << 8) |
| Defines the location of the SOCAPRD bits in the ETPS register. More... | |
| #define | PWM_ETPS_SOCACNT_BITS (3 << 10) |
| Defines the location of the SOCACNT bits in the ETPS register. More... | |
| #define | PWM_ETPS_SOCBPRD_BITS (3 << 12) |
| Defines the location of the SOCBPRD bits in the ETPS register. More... | |
| #define | PWM_ETPS_SOCBCNT_BITS (3 << 14) |
| Defines the location of the SOCBCNT bits in the ETPS register. More... | |
| #define | PWM_ETSEL_INTSEL_BITS (7 << 0) |
| Defines the location of the INTSEL bits in the ETSEL register. More... | |
| #define | PWM_ETSEL_INTEN_BITS (1 << 3) |
| Defines the location of the INTEN bits in the ETSEL register. More... | |
| #define | PWM_ETSEL_SOCASEL_BITS (7 << 8) |
| Defines the location of the SOCASEL bits in the ETSEL register. More... | |
| #define | PWM_ETSEL_SOCAEN_BITS (1 << 11) |
| Defines the location of the SOCAEN bits in the ETSEL register. More... | |
| #define | PWM_ETSEL_SOCBSEL_BITS (7 << 12) |
| Defines the location of the SOCBSEL bits in the ETSEL register. More... | |
| #define | PWM_ETSEL_SOCBEN_BITS (1 << 15) |
| Defines the location of the SOCBEN bits in the ETSEL register. More... | |
| #define | PWM_PCCTL_CHPEN_BITS (1 << 0) |
| Defines the location of the CHPEN bits in the PCCTL register. More... | |
| #define | PWM_PCCTL_OSHTWTH_BITS (15 << 1) |
| Defines the location of the OSHTWTH bits in the PCCTL register. More... | |
| #define | PWM_PCCTL_CHPFREQ_BITS (7 << 5) |
| Defines the location of the CHPFREQ bits in the PCCTL register. More... | |
| #define | PWM_PCCTL_CHPDUTY_BITS (7 << 8) |
| Defines the location of the CHPDUTY bits in the PCCTL register. More... | |
| #define | PWM_HRCNFG_EDGMODE_BITS (3 << 0) |
| Defines the location of the EDGMODE bits in the HRCNFG register. More... | |
| #define | PWM_HRCNFG_CTLMODE_BITS (1 << 2) |
| Defines the location of the CTLMODE bits in the HRCNFG register. More... | |
| #define | PWM_HRCNFG_HRLOAD_BITS (3 << 3) |
| Defines the location of the HRLOAD bits in the HRCNFG register. More... | |
| #define | PWM_HRCNFG_SELOUTB_BITS (1 << 5) |
| Defines the location of the SELOUTB bits in the HRCNFG register. More... | |
| #define | PWM_HRCNFG_AUTOCONV_BITS (1 << 6) |
| Defines the location of the AUTOCONV bits in the HRCNFG register. More... | |
| #define | PWM_HRCNFG_SWAPAB_BITS (1 << 7) |
| Defines the location of the SWAPAB bits in the HRCNFG register. More... | |
| #define | PWM_HRPCTL_HRPE_BITS (1 << 0) |
| Defines the location of the HRPE bits in the HRPCTL register. More... | |
| #define | PWM_HRPCTL_PWMSYNCSEL_BITS (1 << 1) |
| Defines the location of the PWMSYNCSEL bits in the HRPCTL register. More... | |
| #define | PWM_HRPCTL_TBPHSHRLOADE_BITS (1 << 2) |
| Defines the location of the TBPHSHRLOADE bits in the HRPCTL register. More... | |
| #define | PWM_TBCTL_CTRMODE_BITS (3 << 0) |
| Defines the location of the CTRMODE bits in the TBCTL register. More... | |
| #define | PWM_TBCTL_PHSEN_BITS (1 << 2) |
| Defines the location of the PHSEN bits in the TBCTL register. More... | |
| #define | PWM_TBCTL_PRDLD_BITS (1 << 3) |
| Defines the location of the PRDLD bits in the TBCTL register. More... | |
| #define | PWM_TBCTL_SYNCOSEL_BITS (3 << 4) |
| Defines the location of the SYNCOSEL bits in the TBCTL register. More... | |
| #define | PWM_TBCTL_SWFSYNC_BITS (1 << 6) |
| Defines the location of the SWFSYNC bits in the TBCTL register. More... | |
| #define | PWM_TBCTL_HSPCLKDIV_BITS (7 << 7) |
| Defines the location of the HSPCLKDIV bits in the TBCTL register. More... | |
| #define | PWM_TBCTL_CLKDIV_BITS (7 << 10) |
| Defines the location of the CLKDIV bits in the TBCTL register. More... | |
| #define | PWM_TBCTL_PHSDIR_BITS (1 << 13) |
| Defines the location of the PHSDIR bits in the TBCTL register. More... | |
| #define | PWM_TBCTL_FREESOFT_BITS (3 << 14) |
| Defines the location of the FREESOFT bits in the TBCTL register. More... | |
| #define | PWM_TZCLR_INT_BITS (1 << 0) |
| Defines the location of the INT bits in the TXCLR register. More... | |
| #define | PWM_TZCLR_CBC_BITS (1 << 1) |
| Defines the location of the CBC bits in the TXCLR register. More... | |
| #define | PWM_TZCLR_OST_BITS (1 << 2) |
| Defines the location of the OST bits in the TXCLR register. More... | |
| #define | PWM_TZCLR_DCAEVT1_BITS (1 << 3) |
| Defines the location of the DCAEVT1 bits in the TXCLR register. More... | |
| #define | PWM_TZCLR_DCAEVT2_BITS (1 << 4) |
| Defines the location of the DCAEVT2 bits in the TXCLR register. More... | |
| #define | PWM_TZCLR_DCBEVT1_BITS (1 << 5) |
| Defines the location of the DCBEVT1 bits in the TXCLR register. More... | |
| #define | PWM_TZCLR_DCBEVT2_BITS (1 << 6) |
| Defines the location of the DCBEVT2 bits in the TXCLR register. More... | |
| #define | PWM_TZCTL_TZA_BITS (3 << 0) |
| Defines the location of the TZA bits in the TZCTL register. More... | |
| #define | PWM_TZCTL_TZB_BITS (3 << 2) |
| Defines the location of the TZB bits in the TZCTL register. More... | |
| #define | PWM_TZCTL_DCAEVT1_BITS (3 << 4) |
| Defines the location of the DCAEVT1 bits in the TZCTL register. More... | |
| #define | PWM_TZCTL_DCAEVT2_BITS (3 << 6) |
| Defines the location of the DCAEVT2 bits in the TZCTL register. More... | |
| #define | PWM_TZCTL_DCBEVT1_BITS (3 << 8) |
| Defines the location of the DCBEVT1 bits in the TZCTL register. More... | |
| #define | PWM_TZCTL_DCBEVT2_BITS (3 << 10) |
| Defines the location of the DCBEVT2 bits in the TZCTL register. More... | |
| #define | PWM_TZFRC_CBC_BITS (1 << 1) |
| Defines the location of the CBC bits in the TZFRC register. More... | |
| #define | PWM_TZFRC_OST_BITS (1 << 2) |
| Defines the location of the OST bits in the TZFRC register. More... | |
| #define | PWM_TZFRC_DCAEVT1_BITS (1 << 3) |
| Defines the location of the DCAEVT1 bits in the TZFRC register. More... | |
| #define | PWM_TZFRC_DCAEVT2_BITS (1 << 4) |
| Defines the location of the DCAEVT2 bits in the TZFRC register. More... | |
| #define | PWM_TZFRC_DCBEVT1_BITS (1 << 5) |
| Defines the location of the DCBEVT1 bits in the TZFRC register. More... | |
| #define | PWM_TZFRC_DCBEVT2_BITS (1 << 6) |
| Defines the location of the DCBEVT2 bits in the TZFRC register. More... | |
| #define | PWM_TZDCSEL_DCAEVT1_BITS (7 << 0) |
| Defines the location of the DCAEVT1 bits in the TZDCSEL register. More... | |
| #define | PWM_TZDCSEL_DCAEVT2_BITS (7 << 3) |
| Defines the location of the DCAEVT2 bits in the TZDCSEL register. More... | |
| #define | PWM_TZDCSEL_DCBEVT1_BITS (7 << 6) |
| Defines the location of the DCBEVT1 bits in the TZDCSEL register. More... | |
| #define | PWM_TZDCSEL_DCBEVT2_BITS (7 << 9) |
| Defines the location of the DCBEVT2 bits in the TZDCSEL register. More... | |
| #define | PWM_DCTRIPSEL_DCAHCOMPSEL_BITS (15 << 0) |
| Defines the location of the DCAHCOMPSEL bits in the DCTRIPSEL register. More... | |
| #define | PWM_DCTRIPSEL_DCALCOMPSEL_BITS (15 << 4) |
| Defines the location of the DCALCOMPSEL bits in the DCTRIPSEL register. More... | |
| #define | PWM_DCTRIPSEL_DCBHCOMPSEL_BITS (15 << 8) |
| Defines the location of the DCBHCOMPSEL bits in the DCTRIPSEL register. More... | |
| #define | PWM_DCTRIPSEL_DCBLCOMPSEL_BITS (15 << 12) |
| Defines the location of the DCBLCOMPSEL bits in the DCTRIPSEL register. More... | |
| #define | PWM_DCFCTL_SRCSEL_BITS (3 << 0) |
| Defines the location of the SRCSEL bits in the DCFCTL register. More... | |
| #define | PWM_DCFCTL_BLANKE_BITS (1 << 2) |
| Defines the location of the BLANKE bits in the DCFCTL register. More... | |
| #define | PWM_DCFCTL_BLANKINV_BITS (1 << 3) |
| Defines the location of the BLANKINV bits in the DCFCTL register. More... | |
| #define | PWM_DCFCTL_PULSESEL_BITS (3 << 4) |
| Defines the location of the PULSESEL bits in the DCFCTL register. More... | |
Typedefs | |
| typedef struct _PWM_Obj_ | PWM_Obj |
| Defines the pulse width modulation (PWM) object. More... | |
| typedef struct _PWM_Obj_ * | PWM_Handle |
| Defines the pulse width modulation (PWM) handle. More... | |
Functions | |
| static void | PWM_clearIntFlag (PWM_Handle pwmHandle) |
| Clears the pulse width modulation (PWM) interrupt flag. More... | |
| static void | PWM_clearOneShotTrip (PWM_Handle pwmHandle) |
| Clears the pulse width modulation (PWM) one shot trip. More... | |
| static void | PWM_clearSocAFlag (PWM_Handle pwmHandle) |
| Clears the pulse width modulation (PWM) start of conversion (SOC) A flag. More... | |
| static void | PWM_clearSocBFlag (PWM_Handle pwmHandle) |
| Clears the pulse width modulation (PWM) start of conversion (SOC) B flag. More... | |
| 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_enableHrPhaseSync (PWM_Handle pwmHandle) |
| Enables high resolution phase synchronization. More... | |
| void | PWM_enableInt (PWM_Handle pwmHandle) |
| Enables the pulse width modulation (PWM) interrupt. 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... | |
| static uint16_t | PWM_get_CmpA (PWM_Handle pwmHandle) |
| Gets the value of the Counter Compare A hardware. More... | |
| static uint16_t | PWM_get_CmpAM (PWM_Handle pwmHandle) |
| Gets the value of the Counter Compare A Mirror Register. More... | |
| static uint16_t | PWM_get_CmpB (PWM_Handle pwmHandle) |
| Gets the value of the Counter Compare B hardware. More... | |
| static void | PWM_forceSync (PWM_Handle pwmHandle) |
| Force Synchronization. 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... | |
| static uint16_t | PWM_getPeriod (PWM_Handle pwmHandle) |
| Gets the pulse width modulation (PWM) period value. More... | |
| static uint16_t | PWM_getCmpA (PWM_Handle pwmHandle) |
| Gets the pulse width modulation (PWM) data value from the Counter Compare A hardware. More... | |
| static uint16_t | PWM_getCmpAHr (PWM_Handle pwmHandle) |
| Gets the pulse width modulation (PWM) data value from the Counter Compare A Hr hardware. More... | |
| static uint16_t | PWM_getCmpB (PWM_Handle pwmHandle) |
| Gets the pulse width modulation (PWM) data value from the Counter Compare B hardware. 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... | |
| 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_setPeriodLoad (PWM_Handle pwmHandle, const PWM_PeriodLoad_e periodLoad) |
| Sets the pulse width modulation (PWM) period load mode. More... | |
| static void | PWM_setOneShotTrip (PWM_Handle pwmHandle) |
| Sets the pulse width modulation (PWM) one shot trip. 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_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... | |
| static void | PWM_write_CmpA (PWM_Handle pwmHandle, const uint16_t pwmData) |
| Writes the pulse width modulation (PWM) data value to the Counter Compare A hardware. More... | |
| static void | PWM_setCmpA (PWM_Handle pwmHandle, const uint16_t pwmData) |
| Writes the pulse width modulation (PWM) data value to the Counter Compare A hardware. More... | |
| static void | PWM_setCmpAHr (PWM_Handle pwmHandle, const uint16_t pwmData) |
| Writes the pulse width modulation (PWM) data value to the Counter Compare A Hr hardware. More... | |
| static void | PWM_write_CmpB (PWM_Handle pwmHandle, const uint16_t pwmData) |
| Writes the pulse width modulation (PWM) data value to the Counter Compare B hardware. More... | |
| static void | PWM_setCmpB (PWM_Handle pwmHandle, const uint16_t pwmData) |
| Writes the pulse width modulation (PWM) data value to the Counter Compare B hardware. More... | |
Contains public interface to various functions related to the pulse width modulation (PWM) object.
(C) Copyright 2015, Texas Instruments, Inc.
Definition in file pwm.h.
1.8.9.1