AM64x MCU+ SDK  08.02.00
EPWM_TimebaseCfg Struct Reference

Detailed Description

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
 

Field Documentation

◆ tbClk

uint32_t EPWM_TimebaseCfg::tbClk

Time base clock.

◆ pwmtbCounterFreqPrd

uint32_t EPWM_TimebaseCfg::pwmtbCounterFreqPrd

PWM Time base counter Frequency/Period.

◆ tbCntrDirection

uint32_t EPWM_TimebaseCfg::tbCntrDirection

Time base counter direction. This can take values from the following enum EPWM_TbCounterDir_t.

◆ enableSynchronization

uint32_t EPWM_TimebaseCfg::enableSynchronization

Enable synchronization inside the timebase sub-module. This can take following two values TRUE or FALSE.

◆ cntDirAfterSync

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.

◆ phsCountAfterSync

uint32_t EPWM_TimebaseCfg::phsCountAfterSync

Value of the phase counter to be loaded after the sync event.

◆ syncOutSrc

uint32_t EPWM_TimebaseCfg::syncOutSrc

Source of synchronization output signal. This can take values from the following enum EPWM_TbSyncOutEvt_t.