|
MotorWare f2806x Driver API Documentation
|
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... | |
| struct _PWM_Obj_ |
| #define PWM_AQCSFRC_CSFA_BITS (3 << 0) |
Defines the location of the CSFA bits in the AQCSFRC register.
Definition at line 125 of file pwm.h.
Referenced by PWM_setActionQualContSWForce_PwmA().
| #define PWM_AQCSFRC_CSFB_BITS (3 << 2) |
Defines the location of the CSFB bits in the AQCSFRC register.
Definition at line 129 of file pwm.h.
Referenced by PWM_setActionQualContSWForce_PwmB().
| #define PWM_AQCTL_CAD_BITS (3 << 6) |
Defines the location of the CAD bits in the AQCTL register.
Definition at line 113 of file pwm.h.
Referenced by PWM_setActionQual_CntDown_CmpA_PwmA(), and PWM_setActionQual_CntDown_CmpA_PwmB().
| #define PWM_AQCTL_CAU_BITS (3 << 4) |
Defines the location of the CAU bits in the AQCTL register.
Definition at line 109 of file pwm.h.
Referenced by PWM_setActionQual_CntUp_CmpA_PwmA(), and PWM_setActionQual_CntUp_CmpA_PwmB().
| #define PWM_AQCTL_CBD_BITS (3 << 10) |
Defines the location of the CBD bits in the AQCTL register.
Definition at line 121 of file pwm.h.
Referenced by PWM_setActionQual_CntDown_CmpB_PwmA(), and PWM_setActionQual_CntDown_CmpB_PwmB().
| #define PWM_AQCTL_CBU_BITS (3 << 8) |
Defines the location of the CBU bits in the AQCTL register.
Definition at line 117 of file pwm.h.
Referenced by PWM_setActionQual_CntUp_CmpB_PwmA(), and PWM_setActionQual_CntUp_CmpB_PwmB().
| #define PWM_AQCTL_PRD_BITS (3 << 2) |
Defines the location of the PRD bits in the AQCTL register.
Definition at line 105 of file pwm.h.
Referenced by PWM_setActionQual_Period_PwmA(), and PWM_setActionQual_Period_PwmB().
| #define PWM_AQCTL_ZRO_BITS (3 << 0) |
Defines the location of the ZRO bits in the AQCTL register.
Definition at line 101 of file pwm.h.
Referenced by PWM_setActionQual_Zero_PwmA(), and PWM_setActionQual_Zero_PwmB().
| #define PWM_CMPCTL_LOADAMODE_BITS (3 << 0) |
Defines the location of the LOADAMODE bits in the CMPCTL register.
Definition at line 133 of file pwm.h.
Referenced by PWM_setLoadMode_CmpA().
| #define PWM_CMPCTL_LOADBMODE_BITS (3 << 2) |
Defines the location of the LOADBMODE bits in the CMPCTL register.
Definition at line 137 of file pwm.h.
Referenced by PWM_setLoadMode_CmpB().
| #define PWM_CMPCTL_SHDWAFULL_BITS (1 << 8) |
Defines the location of the SHDWAFULL bits in the CMPCTL register.
Definition at line 149 of file pwm.h.
Referenced by PWM_getShadowStatus_CmpA(), and PWM_getShadowStatus_CmpB().
| #define PWM_CMPCTL_SHDWAMODE_BITS (1 << 4) |
Defines the location of the SHDWAMODE bits in the CMPCTL register.
Definition at line 141 of file pwm.h.
Referenced by PWM_setShadowMode_CmpA().
| #define PWM_CMPCTL_SHDWBFULL_BITS (1 << 9) |
| #define PWM_CMPCTL_SHDWBMODE_BITS (1 << 6) |
Defines the location of the SHDWBMODE bits in the CMPCTL register.
Definition at line 145 of file pwm.h.
Referenced by PWM_setShadowMode_CmpB().
| #define PWM_DBCTL_HALFCYCLE_BITS (1 << 15) |
Defines the location of the HALFCYCLE bits in the DBCTL register.
Definition at line 170 of file pwm.h.
Referenced by PWM_disableDeadBandHalfCycle(), and PWM_enableDeadBandHalfCycle().
| #define PWM_DBCTL_INMODE_BITS (3 << 4) |
Defines the location of the INMODE bits in the DBCTL register.
Definition at line 166 of file pwm.h.
Referenced by PWM_setDeadBandInputMode().
| #define PWM_DBCTL_OUTMODE_BITS (3 << 0) |
Defines the location of the OUTMODE bits in the DBCTL register.
Definition at line 158 of file pwm.h.
Referenced by PWM_setDeadBandOutputMode().
| #define PWM_DBCTL_POLSEL_BITS (3 << 2) |
Defines the location of the POLSEL bits in the DBCTL register.
Definition at line 162 of file pwm.h.
Referenced by PWM_setDeadBandPolarity().
| #define PWM_DCFCTL_BLANKE_BITS (1 << 2) |
Defines the location of the BLANKE bits in the DCFCTL register.
Definition at line 444 of file pwm.h.
Referenced by PWM_disableDigitalCompareBlankingWindow(), and PWM_enableDigitalCompareBlankingWindow().
| #define PWM_DCFCTL_BLANKINV_BITS (1 << 3) |
Defines the location of the BLANKINV bits in the DCFCTL register.
Definition at line 448 of file pwm.h.
Referenced by PWM_disableDigitalCompareBlankingWindowInversion(), and PWM_enableDigitalCompareBlankingWindowInversion().
| #define PWM_DCFCTL_PULSESEL_BITS (3 << 4) |
Defines the location of the PULSESEL bits in the DCFCTL register.
Definition at line 452 of file pwm.h.
Referenced by PWM_setDigitalCompareBlankingPulse().
| #define PWM_DCFCTL_SRCSEL_BITS (3 << 0) |
Defines the location of the SRCSEL bits in the DCFCTL register.
Definition at line 440 of file pwm.h.
Referenced by PWM_setDigitalCompareFilterSource().
| #define PWM_DCTRIPSEL_DCAHCOMPSEL_BITS (15 << 0) |
| #define PWM_DCTRIPSEL_DCALCOMPSEL_BITS (15 << 4) |
| #define PWM_DCTRIPSEL_DCBHCOMPSEL_BITS (15 << 8) |
| #define PWM_DCTRIPSEL_DCBLCOMPSEL_BITS (15 << 12) |
| #define PWM_ePWM1_BASE_ADDR (0x00006800) |
| #define PWM_ePWM2_BASE_ADDR (0x00006840) |
| #define PWM_ePWM3_BASE_ADDR (0x00006880) |
| #define PWM_ePWM4_BASE_ADDR (0x000068C0) |
| #define PWM_ePWM5_BASE_ADDR (0x00006900) |
| #define PWM_ePWM6_BASE_ADDR (0x00006940) |
| #define PWM_ePWM7_BASE_ADDR (0x00006980) |
| #define PWM_ePWM8_BASE_ADDR (0x000069C0) |
| #define PWM_ETCLR_INT_BITS (1 << 0) |
Defines the location of the ETCR bits in the ETCLR register.
Definition at line 175 of file pwm.h.
Referenced by PWM_clearIntFlag().
| #define PWM_ETCLR_SOCA_BITS (1 << 2) |
Defines the location of the SOCA bits in the ETCLR register.
Definition at line 179 of file pwm.h.
Referenced by PWM_clearSocAFlag().
| #define PWM_ETCLR_SOCB_BITS (1 << 3) |
Defines the location of the SOCB bits in the ETCLR register.
Definition at line 183 of file pwm.h.
Referenced by PWM_clearSocBFlag().
| #define PWM_ETPS_INTCNT_BITS (3 << 2) |
Defines the location of the INTCNT bits in the ETPS register.
Definition at line 192 of file pwm.h.
Referenced by PWM_getIntCount().
| #define PWM_ETPS_INTPRD_BITS (3 << 0) |
Defines the location of the INTPRD bits in the ETPS register.
Definition at line 188 of file pwm.h.
Referenced by PWM_setIntPeriod().
| #define PWM_ETPS_SOCACNT_BITS (3 << 10) |
Defines the location of the SOCACNT bits in the ETPS register.
Definition at line 200 of file pwm.h.
Referenced by PWM_getSocACount().
| #define PWM_ETPS_SOCAPRD_BITS (3 << 8) |
Defines the location of the SOCAPRD bits in the ETPS register.
Definition at line 196 of file pwm.h.
Referenced by PWM_setSocAPeriod().
| #define PWM_ETPS_SOCBCNT_BITS (3 << 14) |
Defines the location of the SOCBCNT bits in the ETPS register.
Definition at line 208 of file pwm.h.
Referenced by PWM_getSocBCount().
| #define PWM_ETPS_SOCBPRD_BITS (3 << 12) |
Defines the location of the SOCBPRD bits in the ETPS register.
Definition at line 204 of file pwm.h.
Referenced by PWM_setSocBPeriod().
| #define PWM_ETSEL_INTEN_BITS (1 << 3) |
Defines the location of the INTEN bits in the ETSEL register.
Definition at line 217 of file pwm.h.
Referenced by PWM_disableInt(), and PWM_enableInt().
| #define PWM_ETSEL_INTSEL_BITS (7 << 0) |
Defines the location of the INTSEL bits in the ETSEL register.
Definition at line 213 of file pwm.h.
Referenced by PWM_setIntMode().
| #define PWM_ETSEL_SOCAEN_BITS (1 << 11) |
Defines the location of the SOCAEN bits in the ETSEL register.
Definition at line 225 of file pwm.h.
Referenced by PWM_disableSocAPulse(), and PWM_enableSocAPulse().
| #define PWM_ETSEL_SOCASEL_BITS (7 << 8) |
Defines the location of the SOCASEL bits in the ETSEL register.
Definition at line 221 of file pwm.h.
Referenced by PWM_setSocAPulseSrc().
| #define PWM_ETSEL_SOCBEN_BITS (1 << 15) |
Defines the location of the SOCBEN bits in the ETSEL register.
Definition at line 233 of file pwm.h.
Referenced by PWM_disableSocBPulse(), and PWM_enableSocBPulse().
| #define PWM_ETSEL_SOCBSEL_BITS (7 << 12) |
Defines the location of the SOCBSEL bits in the ETSEL register.
Definition at line 229 of file pwm.h.
Referenced by PWM_setSocBPulseSrc().
| #define PWM_HRCNFG_AUTOCONV_BITS (1 << 6) |
Defines the location of the AUTOCONV bits in the HRCNFG register.
Definition at line 270 of file pwm.h.
Referenced by PWM_disableAutoConvert(), and PWM_enableAutoConvert().
| #define PWM_HRCNFG_CTLMODE_BITS (1 << 2) |
Defines the location of the CTLMODE bits in the HRCNFG register.
Definition at line 258 of file pwm.h.
Referenced by PWM_setHrControlMode().
| #define PWM_HRCNFG_EDGMODE_BITS (3 << 0) |
Defines the location of the EDGMODE bits in the HRCNFG register.
Definition at line 254 of file pwm.h.
Referenced by PWM_setHrEdgeMode().
| #define PWM_HRCNFG_HRLOAD_BITS (3 << 3) |
Defines the location of the HRLOAD bits in the HRCNFG register.
Definition at line 262 of file pwm.h.
Referenced by PWM_setHrShadowMode().
| #define PWM_HRCNFG_SELOUTB_BITS (1 << 5) |
| #define PWM_HRCNFG_SWAPAB_BITS (1 << 7) |
| #define PWM_HRPCTL_HRPE_BITS (1 << 0) |
Defines the location of the HRPE bits in the HRPCTL register.
Definition at line 278 of file pwm.h.
Referenced by PWM_disableHrPeriod(), and PWM_enableHrPeriod().
| #define PWM_HRPCTL_PWMSYNCSEL_BITS (1 << 1) |
| #define PWM_HRPCTL_TBPHSHRLOADE_BITS (1 << 2) |
Defines the location of the TBPHSHRLOADE bits in the HRPCTL register.
Definition at line 286 of file pwm.h.
Referenced by PWM_disableHrPhaseSync(), and PWM_enableHrPhaseSync().
| #define PWM_PCCTL_CHPDUTY_BITS (7 << 8) |
Defines the location of the CHPDUTY bits in the PCCTL register.
Definition at line 250 of file pwm.h.
Referenced by PWM_setChoppingDutyCycle().
| #define PWM_PCCTL_CHPEN_BITS (1 << 0) |
Defines the location of the CHPEN bits in the PCCTL register.
Definition at line 238 of file pwm.h.
Referenced by PWM_disableChopping().
| #define PWM_PCCTL_CHPFREQ_BITS (7 << 5) |
Defines the location of the CHPFREQ bits in the PCCTL register.
Definition at line 246 of file pwm.h.
Referenced by PWM_setChoppingClkFreq().
| #define PWM_PCCTL_OSHTWTH_BITS (15 << 1) |
Defines the location of the OSHTWTH bits in the PCCTL register.
Definition at line 242 of file pwm.h.
Referenced by PWM_setChoppingPulseWidth().
| #define PWM_TBCTL_CLKDIV_BITS (7 << 10) |
Defines the location of the CLKDIV bits in the TBCTL register.
Definition at line 314 of file pwm.h.
Referenced by PWM_setClkDiv().
| #define PWM_TBCTL_CTRMODE_BITS (3 << 0) |
Defines the location of the CTRMODE bits in the TBCTL register.
Definition at line 290 of file pwm.h.
Referenced by PWM_setCounterMode().
| #define PWM_TBCTL_FREESOFT_BITS (3 << 14) |
Defines the location of the FREESOFT bits in the TBCTL register.
Definition at line 322 of file pwm.h.
Referenced by PWM_setRunMode().
| #define PWM_TBCTL_HSPCLKDIV_BITS (7 << 7) |
Defines the location of the HSPCLKDIV bits in the TBCTL register.
Definition at line 310 of file pwm.h.
Referenced by PWM_setHighSpeedClkDiv().
| #define PWM_TBCTL_PHSDIR_BITS (1 << 13) |
Defines the location of the PHSDIR bits in the TBCTL register.
Definition at line 318 of file pwm.h.
Referenced by PWM_setPhaseDir().
| #define PWM_TBCTL_PHSEN_BITS (1 << 2) |
Defines the location of the PHSEN bits in the TBCTL register.
Definition at line 294 of file pwm.h.
Referenced by PWM_disableCounterLoad(), and PWM_enableCounterLoad().
| #define PWM_TBCTL_PRDLD_BITS (1 << 3) |
Defines the location of the PRDLD bits in the TBCTL register.
Definition at line 298 of file pwm.h.
Referenced by PWM_setPeriodLoad().
| #define PWM_TBCTL_SWFSYNC_BITS (1 << 6) |
Defines the location of the SWFSYNC bits in the TBCTL register.
Definition at line 306 of file pwm.h.
Referenced by PWM_forceSync().
| #define PWM_TBCTL_SYNCOSEL_BITS (3 << 4) |
Defines the location of the SYNCOSEL bits in the TBCTL register.
Definition at line 302 of file pwm.h.
Referenced by PWM_setSyncMode().
| #define PWM_TZCLR_CBC_BITS (1 << 1) |
| #define PWM_TZCLR_DCAEVT1_BITS (1 << 3) |
| #define PWM_TZCLR_DCAEVT2_BITS (1 << 4) |
| #define PWM_TZCLR_DCBEVT1_BITS (1 << 5) |
| #define PWM_TZCLR_DCBEVT2_BITS (1 << 6) |
| #define PWM_TZCLR_INT_BITS (1 << 0) |
| #define PWM_TZCLR_OST_BITS (1 << 2) |
Defines the location of the OST bits in the TXCLR register.
Definition at line 335 of file pwm.h.
Referenced by PWM_clearOneShotTrip().
| #define PWM_TZCTL_DCAEVT1_BITS (3 << 4) |
Defines the location of the DCAEVT1 bits in the TZCTL register.
Definition at line 364 of file pwm.h.
Referenced by PWM_setTripZoneState_DCAEVT1().
| #define PWM_TZCTL_DCAEVT2_BITS (3 << 6) |
Defines the location of the DCAEVT2 bits in the TZCTL register.
Definition at line 368 of file pwm.h.
Referenced by PWM_setTripZoneState_DCAEVT2().
| #define PWM_TZCTL_DCBEVT1_BITS (3 << 8) |
Defines the location of the DCBEVT1 bits in the TZCTL register.
Definition at line 372 of file pwm.h.
Referenced by PWM_setTripZoneState_DCBEVT1().
| #define PWM_TZCTL_DCBEVT2_BITS (3 << 10) |
Defines the location of the DCBEVT2 bits in the TZCTL register.
Definition at line 376 of file pwm.h.
Referenced by PWM_setTripZoneState_DCBEVT2().
| #define PWM_TZCTL_TZA_BITS (3 << 0) |
Defines the location of the TZA bits in the TZCTL register.
Definition at line 356 of file pwm.h.
Referenced by PWM_setTripZoneState_TZA().
| #define PWM_TZCTL_TZB_BITS (3 << 2) |
Defines the location of the TZB bits in the TZCTL register.
Definition at line 360 of file pwm.h.
Referenced by PWM_setTripZoneState_TZB().
| #define PWM_TZDCSEL_DCAEVT1_BITS (7 << 0) |
Defines the location of the DCAEVT1 bits in the TZDCSEL register.
Definition at line 406 of file pwm.h.
Referenced by PWM_setTripZoneDCEventSelect_DCAEVT1().
| #define PWM_TZDCSEL_DCAEVT2_BITS (7 << 3) |
Defines the location of the DCAEVT2 bits in the TZDCSEL register.
Definition at line 410 of file pwm.h.
Referenced by PWM_setTripZoneDCEventSelect_DCAEVT2().
| #define PWM_TZDCSEL_DCBEVT1_BITS (7 << 6) |
Defines the location of the DCBEVT1 bits in the TZDCSEL register.
Definition at line 414 of file pwm.h.
Referenced by PWM_setTripZoneDCEventSelect_DCBEVT1().
| #define PWM_TZDCSEL_DCBEVT2_BITS (7 << 9) |
Defines the location of the DCBEVT2 bits in the TZDCSEL register.
Definition at line 418 of file pwm.h.
Referenced by PWM_setTripZoneDCEventSelect_DCBEVT2().
| #define PWM_TZFRC_CBC_BITS (1 << 1) |
| #define PWM_TZFRC_DCAEVT1_BITS (1 << 3) |
| #define PWM_TZFRC_DCAEVT2_BITS (1 << 4) |
| #define PWM_TZFRC_DCBEVT1_BITS (1 << 5) |
| #define PWM_TZFRC_DCBEVT2_BITS (1 << 6) |
| #define PWM_TZFRC_OST_BITS (1 << 2) |
Defines the location of the OST bits in the TZFRC register.
Definition at line 385 of file pwm.h.
Referenced by PWM_setOneShotTrip().
| typedef struct _PWM_Obj_* PWM_Handle |
| enum PWM_ActionQual_e |
Enumeration to define the pulse width modulation (PWM) chopping clock frequencies.
Enumeration to define the pulse width modulation (PWM) chopping clock duty cycles.
Enumeration to define the pulse width modulation (PWM) chopping clock pulse widths.
| enum PWM_ClkDiv_e |
| enum PWM_CounterMode_e |
Enumeration to define the pulse width modulation (PWM) digital compare input choices.
| enum PWM_HrControlMode_e |
| enum PWM_HrEdgeMode_e |
| enum PWM_HrShadowMode_e |
| enum PWM_HspClkDiv_e |
| enum PWM_IntMode_e |
Enumeration to define the pulse width modulation (PWM) interrupt generation modes.
| enum PWM_IntPeriod_e |
| enum PWM_LoadMode_e |
| enum PWM_Number_e |
| enum PWM_PeriodLoad_e |
| enum PWM_PhaseDir_e |
| enum PWM_RunMode_e |
| enum PWM_ShadowMode_e |
| enum PWM_ShadowStatus_e |
| enum PWM_SocPeriod_e |
| enum PWM_SocPulseSrc_e |
Enumeration to define the pulse width modulation (PWM) start of conversion (SOC) sources.
| enum PWM_SyncMode_e |
Enumeration to define the pulse width modulation (PWM) trip zone event selections.
| enum PWM_TripZoneFlag_e |
Enumeration to define the pulse width modulation (PWM) trip zone states.
| enum PWM_TripZoneSrc_e |
Enumeration to define the pulse width modulation (PWM) trip zone sources.
| enum PWM_TripZoneState_e |
|
inlinestatic |
Clears the pulse width modulation (PWM) interrupt flag.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 947 of file pwm.h.
References _PWM_Obj_::ETCLR, and PWM_ETCLR_INT_BITS.
|
inlinestatic |
Clears the pulse width modulation (PWM) one shot trip.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 961 of file pwm.h.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, PWM_TZCLR_OST_BITS, and _PWM_Obj_::TZCLR.
|
inlinestatic |
Clears the pulse width modulation (PWM) start of conversion (SOC) A flag.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 979 of file pwm.h.
References _PWM_Obj_::ETCLR, and PWM_ETCLR_SOCA_BITS.
|
inlinestatic |
Clears the pulse width modulation (PWM) start of conversion (SOC) B flag.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 993 of file pwm.h.
References _PWM_Obj_::ETCLR, and PWM_ETCLR_SOCB_BITS.
| void PWM_clearTripZone | ( | PWM_Handle | pwmHandle, |
| const PWM_TripZoneFlag_e | tripZoneFlag | ||
| ) |
Clears the trip zone (TZ) flag specified.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | tripZoneFlag | The trip zone flag to clear |
Definition at line 56 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and _PWM_Obj_::TZCLR.
| void PWM_decrementDeadBandFallingEdgeDelay | ( | PWM_Handle | pwmHandle | ) |
Decrement the dead band falling edge delay.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 71 of file pwm.c.
References _PWM_Obj_::DBFED.
| void PWM_decrementDeadBandRisingEdgeDelay | ( | PWM_Handle | pwmHandle | ) |
Decrement the dead band rising edge delay.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 82 of file pwm.c.
References _PWM_Obj_::DBRED.
| void PWM_disableAutoConvert | ( | PWM_Handle | pwmHandle | ) |
Disables auto conversion of delay line value.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 93 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, _PWM_Obj_::HRCNFG, and PWM_HRCNFG_AUTOCONV_BITS.
| void PWM_disableChopping | ( | PWM_Handle | pwmHandle | ) |
Disables the pulse width modulation (PWM) chopping.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 108 of file pwm.c.
References _PWM_Obj_::PCCTL, and PWM_PCCTL_CHPEN_BITS.
| void PWM_disableCounterLoad | ( | PWM_Handle | pwmHandle | ) |
Disables the pulse width modulation (PWM) counter loading from the phase register.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 119 of file pwm.c.
References PWM_TBCTL_PHSEN_BITS, and _PWM_Obj_::TBCTL.
| void PWM_disableDeadBand | ( | PWM_Handle | pwmHandle | ) |
Disables the pulse width modulation (PWM) deadband.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 131 of file pwm.c.
References _PWM_Obj_::DBCTL.
| void PWM_disableDeadBandHalfCycle | ( | PWM_Handle | pwmHandle | ) |
Disables the pulse width modulation (PWM) deadband half cycle clocking.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 143 of file pwm.c.
References _PWM_Obj_::DBCTL, and PWM_DBCTL_HALFCYCLE_BITS.
| void PWM_disableDigitalCompareBlankingWindow | ( | PWM_Handle | pwmHandle | ) |
Disables the pulse width modulation (PWM) digital compare blanking window.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 155 of file pwm.c.
References _PWM_Obj_::DCFCTL, DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and PWM_DCFCTL_BLANKE_BITS.
| void PWM_disableDigitalCompareBlankingWindowInversion | ( | PWM_Handle | pwmHandle | ) |
Disables the pulse width modulation (PWM) digital compare blanking window inversion.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 170 of file pwm.c.
References _PWM_Obj_::DCFCTL, DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and PWM_DCFCTL_BLANKINV_BITS.
| void PWM_disableHrPeriod | ( | PWM_Handle | pwmHandle | ) |
Disables high resolution period control.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 185 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, _PWM_Obj_::HRPCTL, and PWM_HRPCTL_HRPE_BITS.
| void PWM_disableHrPhaseSync | ( | PWM_Handle | pwmHandle | ) |
Disables high resolution phase synchronization.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 200 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, _PWM_Obj_::HRPCTL, and PWM_HRPCTL_TBPHSHRLOADE_BITS.
| void PWM_disableInt | ( | PWM_Handle | pwmHandle | ) |
Disables the pulse width modulation (PWM) interrupt.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 215 of file pwm.c.
References _PWM_Obj_::ETSEL, and PWM_ETSEL_INTEN_BITS.
| void PWM_disableSocAPulse | ( | PWM_Handle | pwmHandle | ) |
Disables the pulse width modulation (PWM) start of conversion (SOC) B pulse generation.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 227 of file pwm.c.
References _PWM_Obj_::ETSEL, and PWM_ETSEL_SOCAEN_BITS.
| void PWM_disableSocBPulse | ( | PWM_Handle | pwmHandle | ) |
Disables the pulse width modulation (PWM) start of conversion (SOC) B pulse generation.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 239 of file pwm.c.
References _PWM_Obj_::ETSEL, and PWM_ETSEL_SOCBEN_BITS.
| void PWM_disableTripZoneInt | ( | PWM_Handle | pwmHandle, |
| const PWM_TripZoneFlag_e | interruptSource | ||
| ) |
Disables the pulse width modulation (PWM) trip zones interrupts.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | interrupt | The interrupt source to disable |
Definition at line 267 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and _PWM_Obj_::TZEINT.
| void PWM_disableTripZones | ( | PWM_Handle | pwmHandle | ) |
Disables the pulse width modulation (PWM) trip zones.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 251 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and _PWM_Obj_::TZSEL.
| void PWM_disableTripZoneSrc | ( | PWM_Handle | pwmHandle, |
| const PWM_TripZoneSrc_e | src | ||
| ) |
Disable the pulse width modulation (PWM) trip zone source.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | src | The pulse width modulation (PWM) trip zone source |
Definition at line 283 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and _PWM_Obj_::TZSEL.
| void PWM_enableAutoConvert | ( | PWM_Handle | pwmHandle | ) |
Enables auto conversion of delay line value.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 299 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, _PWM_Obj_::HRCNFG, and PWM_HRCNFG_AUTOCONV_BITS.
| void PWM_enableChopping | ( | PWM_Handle | pwmHandle | ) |
Enables the pulse width modulation (PWM) chopping.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 314 of file pwm.c.
References _PWM_Obj_::PCCTL.
| void PWM_enableCounterLoad | ( | PWM_Handle | pwmHandle | ) |
Enables the pulse width modulation (PWM) counter loading from the phase register.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 325 of file pwm.c.
References PWM_TBCTL_PHSEN_BITS, and _PWM_Obj_::TBCTL.
| void PWM_enableDeadBandHalfCycle | ( | PWM_Handle | pwmHandle | ) |
Enables the pulse width modulation (PWM) deadband half cycle clocking.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 337 of file pwm.c.
References _PWM_Obj_::DBCTL, and PWM_DBCTL_HALFCYCLE_BITS.
| void PWM_enableDigitalCompareBlankingWindow | ( | PWM_Handle | pwmHandle | ) |
Enables the pulse width modulation (PWM) digital compare blanking window.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 349 of file pwm.c.
References _PWM_Obj_::DCFCTL, DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and PWM_DCFCTL_BLANKE_BITS.
| void PWM_enableDigitalCompareBlankingWindowInversion | ( | PWM_Handle | pwmHandle | ) |
Enables the pulse width modulation (PWM) digital compare blanking window inversion.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 364 of file pwm.c.
References _PWM_Obj_::DCFCTL, DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and PWM_DCFCTL_BLANKINV_BITS.
| void PWM_enableHrPeriod | ( | PWM_Handle | pwmHandle | ) |
Enables high resolution period control.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 379 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, _PWM_Obj_::HRPCTL, and PWM_HRPCTL_HRPE_BITS.
| void PWM_enableHrPhaseSync | ( | PWM_Handle | pwmHandle | ) |
Enables high resolution phase synchronization.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 406 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, _PWM_Obj_::HRPCTL, and PWM_HRPCTL_TBPHSHRLOADE_BITS.
| void PWM_enableInt | ( | PWM_Handle | pwmHandle | ) |
Enables the pulse width modulation (PWM) interrupt.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 394 of file pwm.c.
References _PWM_Obj_::ETSEL, and PWM_ETSEL_INTEN_BITS.
| void PWM_enableSocAPulse | ( | PWM_Handle | pwmHandle | ) |
Enables the pulse width modulation (PWM) start of conversion (SOC) A pulse generation.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 421 of file pwm.c.
References _PWM_Obj_::ETSEL, and PWM_ETSEL_SOCAEN_BITS.
| void PWM_enableSocBPulse | ( | PWM_Handle | pwmHandle | ) |
Enables the pulse width modulation (PWM) start of conversion (SOC) B pulse generation.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 433 of file pwm.c.
References _PWM_Obj_::ETSEL, and PWM_ETSEL_SOCBEN_BITS.
| void PWM_enableTripZoneInt | ( | PWM_Handle | pwmHandle, |
| const PWM_TripZoneFlag_e | interruptSource | ||
| ) |
Enables the pulse width modulation (PWM) trip zones interrupts.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | interrupt | The interrupt source to enable |
Definition at line 445 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and _PWM_Obj_::TZEINT.
| void PWM_enableTripZoneSrc | ( | PWM_Handle | pwmHandle, |
| const PWM_TripZoneSrc_e | src | ||
| ) |
Enable the pulse width modulation (PWM) trip zone source.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | src | The pulse width modulation (PWM) trip zone source |
Definition at line 460 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and _PWM_Obj_::TZSEL.
|
inlinestatic |
Force Synchronization.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 1191 of file pwm.h.
References PWM_TBCTL_SWFSYNC_BITS, and _PWM_Obj_::TBCTL.
|
inlinestatic |
Gets the value of the Counter Compare A hardware.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 1159 of file pwm.h.
References _PWM_Obj_::CMPA.
|
inlinestatic |
Gets the value of the Counter Compare A Mirror Register.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 1170 of file pwm.h.
References _PWM_Obj_::CMPAM.
|
inlinestatic |
Gets the value of the Counter Compare B hardware.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 1181 of file pwm.h.
References _PWM_Obj_::CMPB.
|
inlinestatic |
Gets the pulse width modulation (PWM) data value from the Counter Compare A hardware.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 1233 of file pwm.h.
References _PWM_Obj_::CMPA.
|
inlinestatic |
Gets the pulse width modulation (PWM) data value from the Counter Compare A Hr hardware.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 1243 of file pwm.h.
References _PWM_Obj_::CMPAHR.
|
inlinestatic |
Gets the pulse width modulation (PWM) data value from the Counter Compare B hardware.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 1253 of file pwm.h.
References _PWM_Obj_::CMPB.
| uint16_t PWM_getDeadBandFallingEdgeDelay | ( | PWM_Handle | pwmHandle | ) |
Gets the pulse width modulation (PWM) deadband falling edge delay.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 476 of file pwm.c.
References _PWM_Obj_::DBFED.
| uint16_t PWM_getDeadBandRisingEdgeDelay | ( | PWM_Handle | pwmHandle | ) |
Gets the pulse width modulation (PWM) deadband rising edge delay.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 484 of file pwm.c.
References _PWM_Obj_::DBRED.
| uint16_t PWM_getIntCount | ( | PWM_Handle | pwmHandle | ) |
Gets the pulse width modulation (PWM) interrupt event count.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 492 of file pwm.c.
References _PWM_Obj_::ETPS, and PWM_ETPS_INTCNT_BITS.
|
inlinestatic |
Gets the pulse width modulation (PWM) period value.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 1222 of file pwm.h.
References _PWM_Obj_::TBPRD.
| uint16_t PWM_getSocACount | ( | PWM_Handle | pwmHandle | ) |
Gets the pulse width modulation (PWM) start of conversion (SOC) A count.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 502 of file pwm.c.
References _PWM_Obj_::ETPS, and PWM_ETPS_SOCACNT_BITS.
| uint16_t PWM_getSocBCount | ( | PWM_Handle | pwmHandle | ) |
Gets the pulse width modulation (PWM) start of conversion (SOC) B count.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 515 of file pwm.c.
References _PWM_Obj_::ETPS, and PWM_ETPS_SOCBCNT_BITS.
| void PWM_incrementDeadBandFallingEdgeDelay | ( | PWM_Handle | pwmHandle | ) |
Increment the dead band falling edge delay.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 606 of file pwm.c.
References _PWM_Obj_::DBFED.
| void PWM_incrementDeadBandRisingEdgeDelay | ( | PWM_Handle | pwmHandle | ) |
Increment the dead band rising edge delay.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 617 of file pwm.c.
References _PWM_Obj_::DBRED.
| PWM_Handle PWM_init | ( | void * | pMemory, |
| const size_t | numBytes | ||
| ) |
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQual | The action qualifier |
Definition at line 644 of file pwm.c.
References _PWM_Obj_::AQCTLA, and PWM_AQCTL_CAD_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQual | The action qualifier |
Definition at line 659 of file pwm.c.
References _PWM_Obj_::AQCTLB, and PWM_AQCTL_CAD_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQual | The action qualifier |
Definition at line 674 of file pwm.c.
References _PWM_Obj_::AQCTLA, and PWM_AQCTL_CBD_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQual | The action qualifier |
Definition at line 689 of file pwm.c.
References _PWM_Obj_::AQCTLB, and PWM_AQCTL_CBD_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQual | The action qualifier |
Definition at line 704 of file pwm.c.
References _PWM_Obj_::AQCTLA, and PWM_AQCTL_CAU_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQual | The action qualifier |
Definition at line 719 of file pwm.c.
References _PWM_Obj_::AQCTLB, and PWM_AQCTL_CAU_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQual | The action qualifier |
Definition at line 734 of file pwm.c.
References _PWM_Obj_::AQCTLA, and PWM_AQCTL_CBU_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQual | The action qualifier |
Definition at line 749 of file pwm.c.
References _PWM_Obj_::AQCTLB, and PWM_AQCTL_CBU_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQual | The action qualifier |
Definition at line 794 of file pwm.c.
References _PWM_Obj_::AQCTLA, and PWM_AQCTL_PRD_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQual | The action qualifier |
Definition at line 809 of file pwm.c.
References _PWM_Obj_::AQCTLB, and PWM_AQCTL_PRD_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQual | The action qualifier |
Definition at line 824 of file pwm.c.
References _PWM_Obj_::AQCTLA, and PWM_AQCTL_ZRO_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQual | The action qualifier |
Definition at line 839 of file pwm.c.
References _PWM_Obj_::AQCTLB, and PWM_AQCTL_ZRO_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQualContSWForce | The action qualifier continuous software force |
Definition at line 764 of file pwm.c.
References _PWM_Obj_::AQCSFRC, and PWM_AQCSFRC_CSFA_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | actionQualContSWForce | The action qualifier continuous software force |
Definition at line 779 of file pwm.c.
References _PWM_Obj_::AQCSFRC, and PWM_AQCSFRC_CSFB_BITS.
| void PWM_setChoppingClkFreq | ( | PWM_Handle | pwmHandle, |
| const PWM_ChoppingClkFreq_e | clkFreq | ||
| ) |
Sets the pulse width modulation (PWM) chopping clock frequency.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | clkFreq | The clock frequency |
Definition at line 854 of file pwm.c.
References _PWM_Obj_::PCCTL, and PWM_PCCTL_CHPFREQ_BITS.
| void PWM_setChoppingDutyCycle | ( | PWM_Handle | pwmHandle, |
| const PWM_ChoppingDutyCycle_e | dutyCycle | ||
| ) |
Sets the pulse width modulation (PWM) chopping clock duty cycle.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | dutyCycle | The duty cycle |
Definition at line 869 of file pwm.c.
References _PWM_Obj_::PCCTL, and PWM_PCCTL_CHPDUTY_BITS.
| void PWM_setChoppingPulseWidth | ( | PWM_Handle | pwmHandle, |
| const PWM_ChoppingPulseWidth_e | pulseWidth | ||
| ) |
Sets the pulse width modulation (PWM) chopping clock pulse width.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | pulseWidth | The pulse width |
Definition at line 884 of file pwm.c.
References _PWM_Obj_::PCCTL, and PWM_PCCTL_OSHTWTH_BITS.
| void PWM_setClkDiv | ( | PWM_Handle | pwmHandle, |
| const PWM_ClkDiv_e | clkDiv | ||
| ) |
Sets the pulse width modulation (PWM) clock divisor.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | clkDiv | The clock divisor |
Definition at line 899 of file pwm.c.
References PWM_TBCTL_CLKDIV_BITS, and _PWM_Obj_::TBCTL.
|
inlinestatic |
Writes the pulse width modulation (PWM) data value to the Counter Compare A hardware.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | pwmData | The PWM data value |
Definition at line 1744 of file pwm.h.
References _PWM_Obj_::CMPA.
|
inlinestatic |
Writes the pulse width modulation (PWM) data value to the Counter Compare A Hr hardware.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | pwmData | The PWM high resolution data value |
Definition at line 1756 of file pwm.h.
References _PWM_Obj_::CMPAHR.
|
inlinestatic |
Writes the pulse width modulation (PWM) data value to the Counter Compare B hardware.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | pwmData | The PWM data value |
Definition at line 1781 of file pwm.h.
References _PWM_Obj_::CMPB.
| void PWM_setCount | ( | PWM_Handle | pwmHandle, |
| const uint16_t | count | ||
| ) |
Sets the pulse width modulation (PWM) count.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | count | The count |
Definition at line 914 of file pwm.c.
References _PWM_Obj_::TBCTR.
| void PWM_setCounterMode | ( | PWM_Handle | pwmHandle, |
| const PWM_CounterMode_e | counterMode | ||
| ) |
Sets the pulse width modulation (PWM) counter mode.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | counterMode | The count mode |
Definition at line 926 of file pwm.c.
References PWM_TBCTL_CTRMODE_BITS, and _PWM_Obj_::TBCTL.
| void PWM_setDeadBandFallingEdgeDelay | ( | PWM_Handle | pwmHandle, |
| const uint16_t | delay | ||
| ) |
Sets the pulse width modulation (PWM) deadband falling edge delay.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | delay | The delay |
Definition at line 941 of file pwm.c.
References _PWM_Obj_::DBFED.
| void PWM_setDeadBandInputMode | ( | PWM_Handle | pwmHandle, |
| const PWM_DeadBandInputMode_e | inputMode | ||
| ) |
Sets the pulse width modulation (PWM) deadband input mode.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | inputMode | The input mode |
Definition at line 952 of file pwm.c.
References _PWM_Obj_::DBCTL, and PWM_DBCTL_INMODE_BITS.
| void PWM_setDeadBandOutputMode | ( | PWM_Handle | pwmHandle, |
| const PWM_DeadBandOutputMode_e | outputMode | ||
| ) |
Sets the pulse width modulation (PWM) deadband output mode.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | outputMode | The output mode |
Definition at line 967 of file pwm.c.
References _PWM_Obj_::DBCTL, and PWM_DBCTL_OUTMODE_BITS.
| void PWM_setDeadBandPolarity | ( | PWM_Handle | pwmHandle, |
| const PWM_DeadBandPolarity_e | polarity | ||
| ) |
Sets the pulse width modulation (PWM) deadband polarity.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | polarity | The polarity |
Definition at line 982 of file pwm.c.
References _PWM_Obj_::DBCTL, and PWM_DBCTL_POLSEL_BITS.
| void PWM_setDeadBandRisingEdgeDelay | ( | PWM_Handle | pwmHandle, |
| const uint16_t | delay | ||
| ) |
Sets the pulse width modulation (PWM) deadband rising edge delay.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | delay | The delay |
Definition at line 997 of file pwm.c.
References _PWM_Obj_::DBRED.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | selectFilter | Select filter output if true |
| [in] | disableSync | Asynchronous if true |
| [in] | enableSoc | Enable SOC generation if true |
| [in] | generateSync | Generate SYNC if true |
Definition at line 1091 of file pwm.c.
References _PWM_Obj_::DCACTL, DISABLE_PROTECTED_REGISTER_WRITE_MODE, and ENABLE_PROTECTED_REGISTER_WRITE_MODE.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | selectFilter | Select filter output if true |
| [in] | disableSync | Asynchronous if true |
Definition at line 1113 of file pwm.c.
References _PWM_Obj_::DCACTL, DISABLE_PROTECTED_REGISTER_WRITE_MODE, and ENABLE_PROTECTED_REGISTER_WRITE_MODE.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | selectFilter | Select filter output if true |
| [in] | disableSync | Asynchronous if true |
| [in] | enableSoc | Enable SOC generation if true |
| [in] | generateSync | Generate SYNC if true |
Definition at line 1133 of file pwm.c.
References _PWM_Obj_::DCBCTL, DISABLE_PROTECTED_REGISTER_WRITE_MODE, and ENABLE_PROTECTED_REGISTER_WRITE_MODE.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | selectFilter | Select filter output if true |
| [in] | disableSync | Asynchronous if true |
Definition at line 1155 of file pwm.c.
References _PWM_Obj_::DCBCTL, DISABLE_PROTECTED_REGISTER_WRITE_MODE, and ENABLE_PROTECTED_REGISTER_WRITE_MODE.
| void PWM_setDigitalCompareBlankingPulse | ( | PWM_Handle | pwmHandle, |
| const PWM_DigitalCompare_PulseSel_e | pulseSelect | ||
| ) |
Sets the pulse width modulation (PWM) digital compare blanking pulse.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | input | The pulse selection |
Definition at line 1028 of file pwm.c.
References _PWM_Obj_::DCFCTL, DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and PWM_DCFCTL_PULSESEL_BITS.
| void PWM_setDigitalCompareFilterOffset | ( | PWM_Handle | pwmHandle, |
| const uint16_t | offset | ||
| ) |
Sets the pulse width modulation (PWM) digital compare filter offset.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | offset | The offset |
Definition at line 1047 of file pwm.c.
References _PWM_Obj_::DCFOFFSET.
| void PWM_setDigitalCompareFilterSource | ( | PWM_Handle | pwmHandle, |
| const PWM_DigitalCompare_FilterSrc_e | input | ||
| ) |
Sets the pulse width modulation (PWM) digital compare filter source.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | input | The filter's source |
Definition at line 1009 of file pwm.c.
References _PWM_Obj_::DCFCTL, DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and PWM_DCFCTL_SRCSEL_BITS.
| void PWM_setDigitalCompareFilterWindow | ( | PWM_Handle | pwmHandle, |
| const uint16_t | window | ||
| ) |
Sets the pulse width modulation (PWM) digital compare filter offset.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | window | The window |
Definition at line 1059 of file pwm.c.
References _PWM_Obj_::DCFWINDOW.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | input | Comparator input to change |
| [in] | inputSel | Input selection for designated input |
Definition at line 1071 of file pwm.c.
References _PWM_Obj_::DCTRIPSEL, DISABLE_PROTECTED_REGISTER_WRITE_MODE, and ENABLE_PROTECTED_REGISTER_WRITE_MODE.
| void PWM_setHighSpeedClkDiv | ( | PWM_Handle | pwmHandle, |
| const PWM_HspClkDiv_e | clkDiv | ||
| ) |
Sets the pulse width modulation (PWM) high speed clock divisor.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | clkDiv | The clock divisor |
Definition at line 1175 of file pwm.c.
References PWM_TBCTL_HSPCLKDIV_BITS, and _PWM_Obj_::TBCTL.
| void PWM_setHrControlMode | ( | PWM_Handle | pwmHandle, |
| const PWM_HrControlMode_e | controlMode | ||
| ) |
Set the High Resolution Control Mode.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | edgeMode | The control mode HRPWM should use |
Definition at line 558 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, _PWM_Obj_::HRCNFG, and PWM_HRCNFG_CTLMODE_BITS.
| void PWM_setHrEdgeMode | ( | PWM_Handle | pwmHandle, |
| const PWM_HrEdgeMode_e | edgeMode | ||
| ) |
Set the High Resolution Edge Mode.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | edgeMode | The edge mode HRPWM should use |
Definition at line 574 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, _PWM_Obj_::HRCNFG, and PWM_HRCNFG_EDGMODE_BITS.
| void PWM_setHrShadowMode | ( | PWM_Handle | pwmHandle, |
| const PWM_HrShadowMode_e | shadowMode | ||
| ) |
Set the High Resolution Shadow Load Mode.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | edgeMode | The shadow load mode HRPWM should use |
Definition at line 590 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, _PWM_Obj_::HRCNFG, and PWM_HRCNFG_HRLOAD_BITS.
| void PWM_setIntMode | ( | PWM_Handle | pwmHandle, |
| const PWM_IntMode_e | intMode | ||
| ) |
Sets the pulse width modulation (PWM) interrupt mode.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | intMode | The interrupt mode |
Definition at line 1190 of file pwm.c.
References _PWM_Obj_::ETSEL, and PWM_ETSEL_INTSEL_BITS.
| void PWM_setIntPeriod | ( | PWM_Handle | pwmHandle, |
| const PWM_IntPeriod_e | intPeriod | ||
| ) |
Sets the pulse width modulation (PWM) interrupt period.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | intPeriod | The interrupt period |
Definition at line 1205 of file pwm.c.
References _PWM_Obj_::ETPS, and PWM_ETPS_INTPRD_BITS.
| void PWM_setLoadMode_CmpA | ( | PWM_Handle | pwmHandle, |
| const PWM_LoadMode_e | loadMode | ||
| ) |
Sets the pulse width modulation (PWM) load mode for CMPA.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | loadMode | The load mode |
Definition at line 1220 of file pwm.c.
References _PWM_Obj_::CMPCTL, and PWM_CMPCTL_LOADAMODE_BITS.
| void PWM_setLoadMode_CmpB | ( | PWM_Handle | pwmHandle, |
| const PWM_LoadMode_e | loadMode | ||
| ) |
Sets the pulse width modulation (PWM) load mode for CMPB.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | loadMode | The load mode |
Definition at line 1235 of file pwm.c.
References _PWM_Obj_::CMPCTL, and PWM_CMPCTL_LOADBMODE_BITS.
|
inlinestatic |
Sets the pulse width modulation (PWM) one shot trip.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 1577 of file pwm.h.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, PWM_TZFRC_OST_BITS, and _PWM_Obj_::TZFRC.
| void PWM_setPeriod | ( | PWM_Handle | pwmHandle, |
| const uint16_t | period | ||
| ) |
Sets the pulse width modulation (PWM) period.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | period | The period |
Definition at line 1250 of file pwm.c.
References _PWM_Obj_::TBPRD.
| void PWM_setPeriodHr | ( | PWM_Handle | pwmHandle, |
| const uint16_t | period | ||
| ) |
Sets the pulse width modulation (PWM) high resolution period.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | period | The period |
Definition at line 1262 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, and _PWM_Obj_::TBPRDHR.
| void PWM_setPeriodLoad | ( | PWM_Handle | pwmHandle, |
| const PWM_PeriodLoad_e | periodLoad | ||
| ) |
Sets the pulse width modulation (PWM) period load mode.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | periodLoad | The period load mode |
Definition at line 1303 of file pwm.c.
References PWM_TBCTL_PRDLD_BITS, and _PWM_Obj_::TBCTL.
| void PWM_setPhase | ( | PWM_Handle | pwmHandle, |
| const uint16_t | phase | ||
| ) |
Sets the pulse width modulation (PWM) phase.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | phase | The phase |
Definition at line 1277 of file pwm.c.
References _PWM_Obj_::TBPHS.
| void PWM_setPhaseDir | ( | PWM_Handle | pwmHandle, |
| const PWM_PhaseDir_e | phaseDir | ||
| ) |
Sets the pulse width modulation (PWM) phase direction.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | phaseDir | The phase direction |
Definition at line 1288 of file pwm.c.
References PWM_TBCTL_PHSDIR_BITS, and _PWM_Obj_::TBCTL.
| void PWM_setRunMode | ( | PWM_Handle | pwmHandle, |
| const PWM_RunMode_e | runMode | ||
| ) |
Sets the pulse width modulation (PWM) run mode.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | runMode | The run mode |
Definition at line 1318 of file pwm.c.
References PWM_TBCTL_FREESOFT_BITS, and _PWM_Obj_::TBCTL.
| void PWM_setShadowMode_CmpA | ( | PWM_Handle | pwmHandle, |
| const PWM_ShadowMode_e | shadowMode | ||
| ) |
Sets the pulse width modulation (PWM) shadow mode for CMPA.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | shadowMode | The shadow mode |
Definition at line 1393 of file pwm.c.
References _PWM_Obj_::CMPCTL, and PWM_CMPCTL_SHDWAMODE_BITS.
| void PWM_setShadowMode_CmpB | ( | PWM_Handle | pwmHandle, |
| const PWM_ShadowMode_e | shadowMode | ||
| ) |
Sets the pulse width modulation (PWM) shadow mode for CMPB.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | shadowMode | The shadow mode |
Definition at line 1408 of file pwm.c.
References _PWM_Obj_::CMPCTL, and PWM_CMPCTL_SHDWBMODE_BITS.
| void PWM_setSocAPeriod | ( | PWM_Handle | pwmHandle, |
| const PWM_SocPeriod_e | intPeriod | ||
| ) |
Sets the pulse width modulation (PWM) start of conversion (SOC) A interrupt period.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | intPeriod | The interrupt period |
Definition at line 1333 of file pwm.c.
References _PWM_Obj_::ETPS, and PWM_ETPS_SOCAPRD_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | pulseSrc | The interrupt pulse source |
Definition at line 1348 of file pwm.c.
References _PWM_Obj_::ETSEL, and PWM_ETSEL_SOCASEL_BITS.
| void PWM_setSocBPeriod | ( | PWM_Handle | pwmHandle, |
| const PWM_SocPeriod_e | intPeriod | ||
| ) |
Sets the pulse width modulation (PWM) start of conversion (SOC) B interrupt period.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | intPeriod | The interrupt period |
Definition at line 1363 of file pwm.c.
References _PWM_Obj_::ETPS, and PWM_ETPS_SOCBPRD_BITS.
| 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.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | pulseSrc | The interrupt pulse source |
Definition at line 1378 of file pwm.c.
References _PWM_Obj_::ETSEL, and PWM_ETSEL_SOCBSEL_BITS.
| void PWM_setSwSync | ( | PWM_Handle | pwmHandle | ) |
Sets the pulse width modulation (PWM) software sync.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
Definition at line 1423 of file pwm.c.
References _PWM_Obj_::TBCTL.
| void PWM_setSyncMode | ( | PWM_Handle | pwmHandle, |
| const PWM_SyncMode_e | syncMode | ||
| ) |
Sets the pulse width modulation (PWM) sync mode.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | syncMode | The sync mode |
Definition at line 1435 of file pwm.c.
References PWM_TBCTL_SYNCOSEL_BITS, and _PWM_Obj_::TBCTL.
| 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)
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | tripZoneEvent | The trip zone digital compare event |
Definition at line 1449 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, PWM_TZDCSEL_DCAEVT1_BITS, and _PWM_Obj_::TZDCSEL.
| 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)
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | tripZoneEvent | The trip zone digital compare event |
Definition at line 1468 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, PWM_TZDCSEL_DCAEVT2_BITS, and _PWM_Obj_::TZDCSEL.
| 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)
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | tripZoneEvent | The trip zone digital compare event |
Definition at line 1487 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, PWM_TZDCSEL_DCBEVT1_BITS, and _PWM_Obj_::TZDCSEL.
| 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)
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | tripZoneEvent | The trip zone digital compare event |
Definition at line 1506 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, PWM_TZDCSEL_DCBEVT2_BITS, and _PWM_Obj_::TZDCSEL.
| 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)
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | tripZoneState | The trip zone state |
Definition at line 1525 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, PWM_TZCTL_DCAEVT1_BITS, and _PWM_Obj_::TZCTL.
| 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)
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | tripZoneState | The trip zone state |
Definition at line 1544 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, PWM_TZCTL_DCAEVT2_BITS, and _PWM_Obj_::TZCTL.
| 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)
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | tripZoneState | The trip zone state |
Definition at line 1563 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, PWM_TZCTL_DCBEVT1_BITS, and _PWM_Obj_::TZCTL.
| 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)
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | tripZoneState | The trip zone state |
Definition at line 1582 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, PWM_TZCTL_DCBEVT2_BITS, and _PWM_Obj_::TZCTL.
| 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)
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | tripZoneState | The trip zone state |
Definition at line 1601 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, PWM_TZCTL_TZA_BITS, and _PWM_Obj_::TZCTL.
| 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)
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | tripZoneState | The trip zone state |
Definition at line 1620 of file pwm.c.
References DISABLE_PROTECTED_REGISTER_WRITE_MODE, ENABLE_PROTECTED_REGISTER_WRITE_MODE, PWM_TZCTL_TZB_BITS, and _PWM_Obj_::TZCTL.
|
inlinestatic |
Writes the pulse width modulation (PWM) data value to the Counter Compare A hardware.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | pwmData | The PWM data value |
Definition at line 1731 of file pwm.h.
References _PWM_Obj_::CMPA.
|
inlinestatic |
Writes the pulse width modulation (PWM) data value to the Counter Compare B hardware.
| [in] | pwmHandle | The pulse width modulation (PWM) object handle |
| [in] | pwmData | The PWM data value |
Definition at line 1768 of file pwm.h.
References _PWM_Obj_::CMPB.
1.8.9.1