SPRADL7 July   2025 F28E120SC

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1 Introduction
  5. 2 Key Differences Between EPWM and MCPWM
  6. 3 Time-Base Submodule Differences
    1. 3.1 Register Differences
    2. 3.2 Driverlib Differences
  7. 4 Counter-Compare Submodule Differences
    1. 4.1 Register Differences
    2. 4.2 Driverlib Differences
  8. 5 Action-Qualifier Submodule Differences
    1. 5.1 Register Differences
    2. 5.2 Driverlib Differences
  9. 6 Dead-Band Submodule Differences
    1. 6.1 Register Differences
    2. 6.2 Driverlib Differences
  10. 7 Trip-Zone Submodule Differences
    1. 7.1 Register Differences
    2. 7.2 Driverlib Differences
  11. 8 Event-Trigger Submodule Differences
    1. 8.1 Register Differences
    2. 8.2 Driverlib Differences
  12. 9 Global Load Differences
    1. 9.1 Register Differences
    2. 9.2 Driverlib Differences
  13. 10Summary
  14. 11References

Driverlib Differences

The Event-Trigger submodule driverlib differences between EPWM and MCPWM are listed in Table 8-2.

Table 8-2 Event-Trigger Submodule Driverlib Differences Between EPWM and MCPWM

EPWM Function

MCPWM Function

Explanation

-

MCPWM_clearGlobalInterrupt

Addition of global interrupt clear flag

-

MCPWM_getEventTriggerEventCount

Separate prescaler counters for ET1 and ET2

-

MCPWM_getGlobalInterruptStatus

Addition of global interrupt flag

-

MCPWM_setEventTriggerEventPrescale

Separate prescaler counters for ET1 and ET2

-

MCPWM_setEventTriggerSource

Separate ET1 and ET2 instead of INT and SOCx

EPWM_clearEventTriggerInterruptFlag

MCPWM_clearInterrupt

Global interrupt clear bit on MCPWM

EPWM_disableADCTriggerEventCountInit

-

Removed customer prescaler counter init value

EPWM_disableInterruptEventCountInit

-

Removed customer prescaler counter init value

EPWM_enableADCTriggerEventCountInit

-

Removed customer prescaler counter init value

EPWM_enableInterruptEventCountInit

-

Removed customer prescaler counter init value

EPWM_forceADCTrigger

-

Separate ET1 and ET2 instead of INT and SOCx

EPWM_forceADCTriggerEventCountInit

-

Separate ET1 and ET2 instead of INT and SOCx

EPWM_forceEventTriggerInterrupt

MCPWM_forceInterrupt

Changes in interrupt force structure

EPWM_forceInterruptEventCountInit

-

Removed customer prescaler counter init value

EPWM_getInterruptEventCount

-

Separate ET1 and ET2 instead of INT and SOCx

EPWM_setADCTriggerEventCountInitValue

-

Separate ET1 and ET2 instead of INT and SOCx

EPWM_setInterruptEventCount

-

Separate ET1 and ET2 instead of INT and SOCx

EPWM_setInterruptEventCountInitValue

-

Removed customer prescaler counter init value

EPWM_setInterruptSource

-

Separate ET1 and ET2 instead of INT and SOCx