![]() |
M480 BSP V3.05.005
The Board Support Package for M480 Series
|
M480 series EPWM driver header file. More...
Go to the source code of this file.
Macros | |
#define | EPWM_CHANNEL_NUM |
#define | EPWM_CH_0_MASK |
#define | EPWM_CH_1_MASK |
#define | EPWM_CH_2_MASK |
#define | EPWM_CH_3_MASK |
#define | EPWM_CH_4_MASK |
#define | EPWM_CH_5_MASK |
#define | EPWM_UP_COUNTER |
#define | EPWM_DOWN_COUNTER |
#define | EPWM_UP_DOWN_COUNTER |
#define | EPWM_EDGE_ALIGNED |
#define | EPWM_CENTER_ALIGNED |
#define | EPWM_OUTPUT_NOTHING |
#define | EPWM_OUTPUT_LOW |
#define | EPWM_OUTPUT_HIGH |
#define | EPWM_OUTPUT_TOGGLE |
#define | EPWM_SSCTL_SSRC_EPWM0 |
#define | EPWM_SSCTL_SSRC_EPWM1 |
#define | EPWM_SSCTL_SSRC_BPWM0 |
#define | EPWM_SSCTL_SSRC_BPWM1 |
#define | EPWM_TRG_ADC_EVEN_ZERO |
#define | EPWM_TRG_ADC_EVEN_PERIOD |
#define | EPWM_TRG_ADC_EVEN_ZERO_PERIOD |
#define | EPWM_TRG_ADC_EVEN_COMPARE_UP |
#define | EPWM_TRG_ADC_EVEN_COMPARE_DOWN |
#define | EPWM_TRG_ADC_ODD_ZERO |
#define | EPWM_TRG_ADC_ODD_PERIOD |
#define | EPWM_TRG_ADC_ODD_ZERO_PERIOD |
#define | EPWM_TRG_ADC_ODD_COMPARE_UP |
#define | EPWM_TRG_ADC_ODD_COMPARE_DOWN |
#define | EPWM_TRG_ADC_CH_0_FREE_CMP_UP |
#define | EPWM_TRG_ADC_CH_0_FREE_CMP_DOWN |
#define | EPWM_TRG_ADC_CH_2_FREE_CMP_UP |
#define | EPWM_TRG_ADC_CH_2_FREE_CMP_DOWN |
#define | EPWM_TRG_ADC_CH_4_FREE_CMP_UP |
#define | EPWM_TRG_ADC_CH_4_FREE_CMP_DOWN |
#define | EPWM_TRIGGER_DAC_ZERO |
#define | EPWM_TRIGGER_DAC_PERIOD |
#define | EPWM_TRIGGER_DAC_COMPARE_UP |
#define | EPWM_TRIGGER_DAC_COMPARE_DOWN |
#define | EPWM_FB_EDGE_ACMP0 |
#define | EPWM_FB_EDGE_ACMP1 |
#define | EPWM_FB_EDGE_BKP0 |
#define | EPWM_FB_EDGE_BKP1 |
#define | EPWM_FB_EDGE_ADCRM |
#define | EPWM_FB_EDGE_SYS_CSS |
#define | EPWM_FB_EDGE_SYS_BOD |
#define | EPWM_FB_EDGE_SYS_RAM |
#define | EPWM_FB_EDGE_SYS_COR |
#define | EPWM_FB_LEVEL_ACMP0 |
#define | EPWM_FB_LEVEL_ACMP1 |
#define | EPWM_FB_LEVEL_BKP0 |
#define | EPWM_FB_LEVEL_BKP1 |
#define | EPWM_FB_LEVEL_ADCRM |
#define | EPWM_FB_LEVEL_SYS_CSS |
#define | EPWM_FB_LEVEL_SYS_BOD |
#define | EPWM_FB_LEVEL_SYS_RAM |
#define | EPWM_FB_LEVEL_SYS_COR |
#define | EPWM_FB_EDGE |
#define | EPWM_FB_LEVEL |
#define | EPWM_LEBCTL_TRGTYPE_RISING |
#define | EPWM_LEBCTL_TRGTYPE_FALLING |
#define | EPWM_LEBCTL_TRGTYPE_RISING_OR_FALLING |
#define | EPWM_LEBCTL_SRCEN0 |
#define | EPWM_LEBCTL_SRCEN2 |
#define | EPWM_LEBCTL_SRCEN4 |
#define | EPWM_LEBCTL_SRCEN0_2 |
#define | EPWM_LEBCTL_SRCEN0_4 |
#define | EPWM_LEBCTL_SRCEN2_4 |
#define | EPWM_LEBCTL_SRCEN0_2_4 |
#define | EPWM_CAPTURE_INT_RISING_LATCH |
#define | EPWM_CAPTURE_INT_FALLING_LATCH |
#define | EPWM_CAPTURE_PDMA_RISING_LATCH |
#define | EPWM_CAPTURE_PDMA_FALLING_LATCH |
#define | EPWM_CAPTURE_PDMA_RISING_FALLING_LATCH |
#define | EPWM_DUTY_INT_DOWN_COUNT_MATCH_CMP |
#define | EPWM_DUTY_INT_UP_COUNT_MATCH_CMP |
#define | EPWM_IFA_ZERO_POINT |
#define | EPWM_IFA_PERIOD_POINT |
#define | EPWM_IFA_COMPARE_UP_COUNT_POINT |
#define | EPWM_IFA_COMPARE_DOWN_COUNT_POINT |
#define | EPWM_LOAD_MODE_IMMEDIATE |
#define | EPWM_LOAD_MODE_WINDOW |
#define | EPWM_LOAD_MODE_CENTER |
#define | EPWM_SYNC_OUT_FROM_SYNCIN_SWSYNC |
#define | EPWM_SYNC_OUT_FROM_COUNT_TO_ZERO |
#define | EPWM_SYNC_OUT_FROM_COUNT_TO_COMPARATOR |
#define | EPWM_SYNC_OUT_DISABLE |
#define | EPWM_PHS_DIR_DECREMENT |
#define | EPWM_PHS_DIR_INCREMENT |
#define | EPWM_NF_CLK_DIV_1 |
#define | EPWM_NF_CLK_DIV_2 |
#define | EPWM_NF_CLK_DIV_4 |
#define | EPWM_NF_CLK_DIV_8 |
#define | EPWM_NF_CLK_DIV_16 |
#define | EPWM_NF_CLK_DIV_32 |
#define | EPWM_NF_CLK_DIV_64 |
#define | EPWM_NF_CLK_DIV_128 |
#define | EPWM_CLKSRC_EPWM_CLK |
#define | EPWM_CLKSRC_TIMER0 |
#define | EPWM_CLKSRC_TIMER1 |
#define | EPWM_CLKSRC_TIMER2 |
#define | EPWM_CLKSRC_TIMER3 |
#define | EPWM_FDCTL_FDCKSEL_CLK_DIV_1 |
#define | EPWM_FDCTL_FDCKSEL_CLK_DIV_2 |
#define | EPWM_FDCTL_FDCKSEL_CLK_DIV_4 |
#define | EPWM_FDCTL_FDCKSEL_CLK_DIV_8 |
#define | EPWM_ENABLE_COMPLEMENTARY_MODE(epwm) |
This macro enable complementary mode. More... | |
#define | EPWM_DISABLE_COMPLEMENTARY_MODE(epwm) |
This macro disable complementary mode, and enable independent mode. More... | |
#define | EPWM_ENABLE_GROUP_MODE(epwm) |
This macro enable group mode. More... | |
#define | EPWM_DISABLE_GROUP_MODE(epwm) |
This macro disable group mode. More... | |
#define | EPWM_ENABLE_TIMER_SYNC(epwm, u32ChannelMask, u32SyncSrc) |
Enable timer synchronous start counting function of specified channel(s) More... | |
#define | EPWM_DISABLE_TIMER_SYNC(epwm, u32ChannelMask) |
Disable timer synchronous start counting function of specified channel(s) More... | |
#define | EPWM_TRIGGER_SYNC_START(epwm) |
This macro enable EPWM counter synchronous start counting function. More... | |
#define | EPWM_ENABLE_OUTPUT_INVERTER(epwm, u32ChannelMask) |
This macro enable output inverter of specified channel(s) More... | |
#define | EPWM_GET_CAPTURE_RISING_DATA(epwm, u32ChannelNum) |
This macro get captured rising data. More... | |
#define | EPWM_GET_CAPTURE_FALLING_DATA(epwm, u32ChannelNum) |
This macro get captured falling data. More... | |
#define | EPWM_MASK_OUTPUT(epwm, u32ChannelMask, u32LevelMask) |
This macro mask output logic to high or low. More... | |
#define | EPWM_SET_PRESCALER(epwm, u32ChannelNum, u32Prescaler) |
This macro set the prescaler of the selected channel. More... | |
#define | EPWM_GET_PRESCALER(epwm, u32ChannelNum) |
This macro get the prescaler of the selected channel. More... | |
#define | EPWM_SET_CMR(epwm, u32ChannelNum, u32CMR) |
This macro set the comparator of the selected channel. More... | |
#define | EPWM_GET_CMR(epwm, u32ChannelNum) |
This macro get the comparator of the selected channel. More... | |
#define | EPWM_SET_FTCMR(epwm, u32ChannelNum, u32FTCMR) |
This macro set the free trigger comparator of the selected channel. More... | |
#define | EPWM_SET_CNR(epwm, u32ChannelNum, u32CNR) |
This macro set the period of the selected channel. More... | |
#define | EPWM_GET_CNR(epwm, u32ChannelNum) |
This macro get the period of the selected channel. More... | |
#define | EPWM_SET_ALIGNED_TYPE(epwm, u32ChannelMask, u32AlignedType) |
This macro set the EPWM aligned type. More... | |
#define | EPWM_SET_LOAD_WINDOW(epwm, u32ChannelMask) |
Set load window of window loading mode for specified channel(s) More... | |
#define | EPWM_TRIGGER_SYNC(epwm, u32ChannelNum) |
Trigger synchronous event from specified channel(s) More... | |
#define | EPWM_CLR_COUNTER(epwm, u32ChannelMask) |
Clear counter of specified channel(s) More... | |
#define | EPWM_SET_OUTPUT_LEVEL(epwm, u32ChannelMask, u32ZeroLevel, u32CmpUpLevel, u32PeriodLevel, u32CmpDownLevel) |
Set output level at zero, compare up, period(center) and compare down of specified channel(s) More... | |
#define | EPWM_TRIGGER_BRAKE(epwm, u32ChannelMask, u32BrakeType) |
Trigger brake event from specified channel(s) More... | |
#define | EPWM_SET_DEADZONE_CLK_SRC(epwm, u32ChannelNum, u32AfterPrescaler) |
Set Dead zone clock source. More... | |
Functions | |
uint32_t | EPWM_ConfigCaptureChannel (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32UnitTimeNsec, uint32_t u32CaptureEdge) |
Configure EPWM capture and get the nearest unit time. More... | |
uint32_t | EPWM_ConfigOutputChannel (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Frequency, uint32_t u32DutyCycle) |
This function Configure EPWM generator and get the nearest frequency in edge aligned(up counter type) auto-reload mode. More... | |
void | EPWM_Start (EPWM_T *epwm, uint32_t u32ChannelMask) |
Start EPWM module. More... | |
void | EPWM_Stop (EPWM_T *epwm, uint32_t u32ChannelMask) |
Stop EPWM module. More... | |
void | EPWM_ForceStop (EPWM_T *epwm, uint32_t u32ChannelMask) |
Stop EPWM generation immediately by clear channel enable bit. More... | |
void | EPWM_EnableADCTrigger (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Condition) |
Enable selected channel to trigger ADC. More... | |
void | EPWM_DisableADCTrigger (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable selected channel to trigger ADC. More... | |
int32_t | EPWM_EnableADCTriggerPrescale (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Prescale, uint32_t u32PrescaleCnt) |
Enable and configure trigger ADC prescale. More... | |
void | EPWM_DisableADCTriggerPrescale (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable Trigger ADC prescale function. More... | |
void | EPWM_ClearADCTriggerFlag (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Condition) |
Clear selected channel trigger ADC flag. More... | |
uint32_t | EPWM_GetADCTriggerFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Get selected channel trigger ADC flag. More... | |
void | EPWM_EnableDACTrigger (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Condition) |
Enable selected channel to trigger DAC. More... | |
void | EPWM_DisableDACTrigger (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable selected channel to trigger DAC. More... | |
void | EPWM_ClearDACTriggerFlag (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Condition) |
Clear selected channel trigger DAC flag. More... | |
uint32_t | EPWM_GetDACTriggerFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Get selected channel trigger DAC flag. More... | |
void | EPWM_EnableFaultBrake (EPWM_T *epwm, uint32_t u32ChannelMask, uint32_t u32LevelMask, uint32_t u32BrakeSource) |
This function enable fault brake of selected channel(s) More... | |
void | EPWM_EnableCapture (EPWM_T *epwm, uint32_t u32ChannelMask) |
Enable capture of selected channel(s) More... | |
void | EPWM_DisableCapture (EPWM_T *epwm, uint32_t u32ChannelMask) |
Disable capture of selected channel(s) More... | |
void | EPWM_EnableOutput (EPWM_T *epwm, uint32_t u32ChannelMask) |
Enables EPWM output generation of selected channel(s) More... | |
void | EPWM_DisableOutput (EPWM_T *epwm, uint32_t u32ChannelMask) |
Disables EPWM output generation of selected channel(s) More... | |
void | EPWM_EnablePDMA (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32RisingFirst, uint32_t u32Mode) |
Enables PDMA transfer of selected channel for EPWM capture. More... | |
void | EPWM_DisablePDMA (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disables PDMA transfer of selected channel for EPWM capture. More... | |
void | EPWM_EnableDeadZone (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Duration) |
Enable Dead zone of selected channel. More... | |
void | EPWM_DisableDeadZone (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable Dead zone of selected channel. More... | |
void | EPWM_EnableCaptureInt (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Edge) |
Enable capture interrupt of selected channel. More... | |
void | EPWM_DisableCaptureInt (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Edge) |
Disable capture interrupt of selected channel. More... | |
void | EPWM_ClearCaptureIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Edge) |
Clear capture interrupt of selected channel. More... | |
uint32_t | EPWM_GetCaptureIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Get capture interrupt of selected channel. More... | |
void | EPWM_EnableDutyInt (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32IntDutyType) |
Enable duty interrupt of selected channel. More... | |
void | EPWM_DisableDutyInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable duty interrupt of selected channel. More... | |
void | EPWM_ClearDutyIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Clear duty interrupt flag of selected channel. More... | |
uint32_t | EPWM_GetDutyIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Get duty interrupt flag of selected channel. More... | |
void | EPWM_EnableFaultBrakeInt (EPWM_T *epwm, uint32_t u32BrakeSource) |
This function enable fault brake interrupt. More... | |
void | EPWM_DisableFaultBrakeInt (EPWM_T *epwm, uint32_t u32BrakeSource) |
This function disable fault brake interrupt. More... | |
void | EPWM_ClearFaultBrakeIntFlag (EPWM_T *epwm, uint32_t u32BrakeSource) |
This function clear fault brake interrupt of selected source. More... | |
uint32_t | EPWM_GetFaultBrakeIntFlag (EPWM_T *epwm, uint32_t u32BrakeSource) |
This function get fault brake interrupt flag of selected source. More... | |
void | EPWM_EnablePeriodInt (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32IntPeriodType) |
Enable period interrupt of selected channel. More... | |
void | EPWM_DisablePeriodInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable period interrupt of selected channel. More... | |
void | EPWM_ClearPeriodIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Clear period interrupt of selected channel. More... | |
uint32_t | EPWM_GetPeriodIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Get period interrupt of selected channel. More... | |
void | EPWM_EnableZeroInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
Enable zero interrupt of selected channel. More... | |
void | EPWM_DisableZeroInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable zero interrupt of selected channel. More... | |
void | EPWM_ClearZeroIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Clear zero interrupt of selected channel. More... | |
uint32_t | EPWM_GetZeroIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Get zero interrupt of selected channel. More... | |
void | EPWM_EnableAcc (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32IntFlagCnt, uint32_t u32IntAccSrc) |
Enable interrupt flag accumulator of selected channel. More... | |
void | EPWM_DisableAcc (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable interrupt flag accumulator of selected channel. More... | |
void | EPWM_EnableAccInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
Enable interrupt flag accumulator interrupt of selected channel. More... | |
void | EPWM_DisableAccInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable interrupt flag accumulator interrupt of selected channel. More... | |
void | EPWM_ClearAccInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
Clear interrupt flag accumulator interrupt of selected channel. More... | |
uint32_t | EPWM_GetAccInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
Get interrupt flag accumulator interrupt of selected channel. More... | |
void | EPWM_EnableAccPDMA (EPWM_T *epwm, uint32_t u32ChannelNum) |
Enable accumulator PDMA of selected channel. More... | |
void | EPWM_DisableAccPDMA (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable accumulator PDMA of selected channel. More... | |
void | EPWM_EnableAccStopMode (EPWM_T *epwm, uint32_t u32ChannelNum) |
Enable interrupt flag accumulator stop mode of selected channel. More... | |
void | EPWM_DisableAccStopMode (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable interrupt flag accumulator stop mode of selected channel. More... | |
void | EPWM_ClearFTDutyIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Clear free trigger duty interrupt flag of selected channel. More... | |
uint32_t | EPWM_GetFTDutyIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Get free trigger duty interrupt flag of selected channel. More... | |
void | EPWM_EnableLoadMode (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32LoadMode) |
Enable load mode of selected channel. More... | |
void | EPWM_DisableLoadMode (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32LoadMode) |
Disable load mode of selected channel. More... | |
void | EPWM_ConfigSyncPhase (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32SyncSrc, uint32_t u32Direction, uint32_t u32StartPhase) |
Configure synchronization phase of selected channel. More... | |
void | EPWM_EnableSyncPhase (EPWM_T *epwm, uint32_t u32ChannelMask) |
Enable SYNC phase of selected channel(s) More... | |
void | EPWM_DisableSyncPhase (EPWM_T *epwm, uint32_t u32ChannelMask) |
Disable SYNC phase of selected channel(s) More... | |
void | EPWM_EnableSyncNoiseFilter (EPWM_T *epwm, uint32_t u32ClkCnt, uint32_t u32ClkDivSel) |
Enable EPWM SYNC_IN noise filter function. More... | |
void | EPWM_DisableSyncNoiseFilter (EPWM_T *epwm) |
Disable EPWM SYNC_IN noise filter function. More... | |
void | EPWM_EnableSyncPinInverse (EPWM_T *epwm) |
Enable EPWM SYNC input pin inverse function. More... | |
void | EPWM_DisableSyncPinInverse (EPWM_T *epwm) |
Disable EPWM SYNC input pin inverse function. More... | |
void | EPWM_SetClockSource (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32ClkSrcSel) |
Set EPWM clock source. More... | |
void | EPWM_EnableBrakeNoiseFilter (EPWM_T *epwm, uint32_t u32BrakePinNum, uint32_t u32ClkCnt, uint32_t u32ClkDivSel) |
Enable EPWM brake noise filter function. More... | |
void | EPWM_DisableBrakeNoiseFilter (EPWM_T *epwm, uint32_t u32BrakePinNum) |
Disable EPWM brake noise filter function. More... | |
void | EPWM_EnableBrakePinInverse (EPWM_T *epwm, uint32_t u32BrakePinNum) |
Enable EPWM brake pin inverse function. More... | |
void | EPWM_DisableBrakePinInverse (EPWM_T *epwm, uint32_t u32BrakePinNum) |
Disable EPWM brake pin inverse function. More... | |
void | EPWM_SetBrakePinSource (EPWM_T *epwm, uint32_t u32BrakePinNum, uint32_t u32SelAnotherModule) |
Set EPWM brake pin source. More... | |
void | EPWM_SetLeadingEdgeBlanking (EPWM_T *epwm, uint32_t u32TrigSrcSel, uint32_t u32TrigType, uint32_t u32BlankingCnt, uint32_t u32BlankingEnable) |
Set EPWM leading edge blanking function. More... | |
uint32_t | EPWM_GetWrapAroundFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Get the time-base counter reached its maximum value flag of selected channel. More... | |
void | EPWM_ClearWrapAroundFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
Clear the time-base counter reached its maximum value flag of selected channel. More... | |
void | EPWM_EnableFaultDetect (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32AfterPrescaler, uint32_t u32ClkSel) |
Enable fault detect of selected channel. More... | |
void | EPWM_DisableFaultDetect (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable fault detect of selected channel. More... | |
void | EPWM_EnableFaultDetectOutput (EPWM_T *epwm, uint32_t u32ChannelNum) |
Enable fault detect output of selected channel. More... | |
void | EPWM_DisableFaultDetectOutput (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable fault detect output of selected channel. More... | |
void | EPWM_EnableFaultDetectDeglitch (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32DeglitchSmpCycle) |
Enable fault detect deglitch function of selected channel. More... | |
void | EPWM_DisableFaultDetectDeglitch (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable fault detect deglitch function of selected channel. More... | |
void | EPWM_EnableFaultDetectMask (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32MaskCnt) |
Enable fault detect mask function of selected channel. More... | |
void | EPWM_DisableFaultDetectMask (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable fault detect mask function of selected channel. More... | |
void | EPWM_EnableFaultDetectInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
Enable fault detect interrupt of selected channel. More... | |
void | EPWM_DisableFaultDetectInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
Disable fault detect interrupt of selected channel. More... | |
void | EPWM_ClearFaultDetectInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
Clear fault detect interrupt of selected channel. More... | |
uint32_t | EPWM_GetFaultDetectInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
Get fault detect interrupt of selected channel. More... | |
M480 series EPWM driver header file.
SPDX-License-Identifier: Apache-2.0
Definition in file epwm.h.