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_t::tbClk |
Time base clock.
uint32_t Epwm_TimebaseCfg_t::pwmtbCounterFreqPrd |
PWM Time base counter Frequency/Period.
uint32_t Epwm_TimebaseCfg_t::tbCntrDirection |
Time base counter direction. This can take values from the following enum Epwm_TbCounterDir_t.
uint32_t Epwm_TimebaseCfg_t::enableSynchronization |
Enable synchronization inside the timebase sub-module. This can take following two values TRUE or FALSE.
uint32_t Epwm_TimebaseCfg_t::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_t::phsCountAfterSync |
Value of the phase counter to be loaded after the sync event.
uint32_t Epwm_TimebaseCfg_t::syncOutSrc |
Source of synchronization output signal. This can take values from the following enum Epwm_TbSyncOutEvt_t.