Structure holding the TimeBase sub-module configuration parameters.
Data Fields | |
uint32_t | tbClk |
uint32_t | pwmtbCounterFreqPrd |
uint32_t | tbCntrDirection |
uint32_t | enableSynchronization |
uint32_t | cntDirAfterSync |
uint32_t | phsCountAfterSync |
uint32_t | syncOutSrc |
uint32_t EPWM_TimebaseCfg::tbClk |
Time base clock.
uint32_t EPWM_TimebaseCfg::pwmtbCounterFreqPrd |
PWM Time base counter Frequency/Period.
uint32_t EPWM_TimebaseCfg::tbCntrDirection |
Time base counter direction. This can take values from the following enum EPWM_TbCounterDir_t.
uint32_t EPWM_TimebaseCfg::enableSynchronization |
Enable synchronization inside the timebase sub-module. This can take following two values TRUE or FALSE.
uint32_t EPWM_TimebaseCfg::cntDirAfterSync |
Direction of the counter after the sync event is occurred. This can take values from the following enum EPWM_TbCntDirAftSync_t.
uint32_t EPWM_TimebaseCfg::phsCountAfterSync |
Value of the phase counter to be loaded after the sync event.
uint32_t EPWM_TimebaseCfg::syncOutSrc |
Source of synchronization output signal. This can take values from the following enum EPWM_TbSyncOutEvt_t.