TIMER Dead Time Insertion (DTI) initialization structure.
Public Attributes#
Enable DTI or leave it disabled until TIMER_EnableDTI() is called.
DTI Output Polarity.
DTI Complementary Output Invert.
Enable Automatic Start-up functionality (when debugger exits).
Enable/disable PRS as DTI input.
Select which PRS channel as DTI input.
DTI prescaling factor, if HFPER / HFPERB clock used.
DTI Rise Time.
DTI Fall Time.
DTI outputs enable bit mask, consisting of one bit per DTI output signal, i.e., CC0, CC1, CC2, CDTI0, CDTI1, and CDTI2.
Enable core lockup as a fault source.
Enable debugger as a fault source.
Enable PRS fault source 0 (faultSourcePrsSel0
).
Select which PRS signal to be PRS fault source 0.
Enable PRS fault source 1 (faultSourcePrsSel1
).
Select which PRS signal to be PRS fault source 1.
Fault Action.
Public Attribute Documentation#
enable#
bool TIMER_InitDTI_TypeDef::enable
Enable DTI or leave it disabled until TIMER_EnableDTI() is called.
invertComplementaryOut#
bool TIMER_InitDTI_TypeDef::invertComplementaryOut
DTI Complementary Output Invert.
autoRestart#
bool TIMER_InitDTI_TypeDef::autoRestart
Enable Automatic Start-up functionality (when debugger exits).
prsSel#
TIMER_PRSSEL_TypeDef TIMER_InitDTI_TypeDef::prsSel
Select which PRS channel as DTI input.
Only valid if enablePrsSource
is enabled.
prescale#
TIMER_Prescale_TypeDef TIMER_InitDTI_TypeDef::prescale
DTI prescaling factor, if HFPER / HFPERB clock used.
outputsEnableMask#
uint32_t TIMER_InitDTI_TypeDef::outputsEnableMask
DTI outputs enable bit mask, consisting of one bit per DTI output signal, i.e., CC0, CC1, CC2, CDTI0, CDTI1, and CDTI2.
This value should consist of one or more TIMER_DTOGEN_DTOGnnnEN flags (defined in <part_name>_timer.h) OR'ed together.
enableFaultSourceCoreLockup#
bool TIMER_InitDTI_TypeDef::enableFaultSourceCoreLockup
Enable core lockup as a fault source.
enableFaultSourceDebugger#
bool TIMER_InitDTI_TypeDef::enableFaultSourceDebugger
Enable debugger as a fault source.
enableFaultSourcePrsSel0#
bool TIMER_InitDTI_TypeDef::enableFaultSourcePrsSel0
Enable PRS fault source 0 (faultSourcePrsSel0
).
faultSourcePrsSel0#
TIMER_PRSSEL_TypeDef TIMER_InitDTI_TypeDef::faultSourcePrsSel0
Select which PRS signal to be PRS fault source 0.
enableFaultSourcePrsSel1#
bool TIMER_InitDTI_TypeDef::enableFaultSourcePrsSel1
Enable PRS fault source 1 (faultSourcePrsSel1
).
faultSourcePrsSel1#
TIMER_PRSSEL_TypeDef TIMER_InitDTI_TypeDef::faultSourcePrsSel1
Select which PRS signal to be PRS fault source 1.