SPRADL7 July 2025 F28E120SC
The driverlib differences between EPWM and MCPWM are listed in Table 3-2.
|
EPWM Function |
MCPWM Function |
Explanation |
|---|---|---|
|
EPWM_clearTimeBaseCounterOverflowEvent |
- |
CTRMAX flag removed on MCPWM |
|
EPWM_disableOneShotSync |
- |
One-Shot Sync Out feature removed on MCPWM |
|
EPWM_enableOneShotSync |
- |
One-Shot Sync Out feature removed on MCPWM |
|
EPWM_getTimeBaseCounterOverflowStatus |
- |
CTRMAX flag removed on MCPWM |
|
EPWM_selectPeriodLoadEvent |
- |
TBPRD only loaded on CTR= 0 event |
|
EPWM_setOneShotSyncOutTrigger |
- |
One-Shot Sync Out feature removed on MCPWM |
|
EPWM_startOneShotSync |
- |
One-Shot Sync Out feature removed on MCPWM |
|
EPWM_clearSyncEvent |
MCPWM_clearSyncStatus |
Function name change |
|
EPWM_setClockPrescaler |
MCPWM_setClockPrescaler |
Number of arguments changed due to combination of clock-dividers |
|
EPWM_disableSyncOutPulseSource |
MCPWM_setSyncOutPulseMode |
OR gate of enabled/disabled SYNCO signals replaced with mux |
|
EPWM_enableSyncOutPulseSource |
MCPWM_setSyncOutPulseMode |
OR gate of enabled/disabled SYNCO signals replaced with mux |
|
EPWM_getTimeBasePeriod |
MCPWM_getTimeBasePeriodActive |
Function name change to indicate TBPRD has a corresponding shadow register TBPRDS that is written to unless freeze loading is selected |
|
EPWM_setTimeBasePeriod |
MCPWM_setTimeBasePeriodActive |
Function name change to indicate TBPRD has a corresponding shadow register TBPRDS that is read from unless freeze loading is selected |
|
- |
MCPWM_getTimeBasePeriodShadow |
Addition of memory mapped TBPRD register |
|
- |
MCPWM_setSyncPulseSource |
Addition of driverlib function to set SYNCPER source |
|
- |
MCPWM_setTimeBasePeriodShadow |
Addition of memory mapped TBPRD register |