TIMER_InitDTI_TypeDef Struct Reference

TIMER Dead Time Insertion (DTI) initialization structure.

#include <em_timer.h>

Data Fields

bool enable
 Enable DTI or leave it disabled until TIMER_EnableDTI() is called.
 
bool activeLowOut
 DTI Output Polarity.
 
bool invertComplementaryOut
 DTI Complementary Output Invert.
 
bool autoRestart
 Enable Automatic Start-up functionality (when debugger exits).
 
bool enablePrsSource
 Enable/disable PRS as DTI input.
 
TIMER_PRSSEL_TypeDef prsSel
 Select which PRS channel as DTI input.
 
TIMER_Prescale_TypeDef prescale
 DTI prescaling factor, if HFPER / HFPERB clock used.
 
unsigned int riseTime
 DTI Rise Time.
 
unsigned int fallTime
 DTI Fall Time.
 
uint32_t outputsEnableMask
 DTI outputs enable bit mask, consisting of one bit per DTI output signal, i.e., CC0, CC1, CC2, CDTI0, CDTI1, and CDTI2.
 
bool enableFaultSourceCoreLockup
 Enable core lockup as a fault source.
 
bool enableFaultSourceDebugger
 Enable debugger as a fault source.
 
bool enableFaultSourcePrsSel0
 Enable PRS fault source 0 (faultSourcePrsSel0).
 
TIMER_PRSSEL_TypeDef faultSourcePrsSel0
 Select which PRS signal to be PRS fault source 0.
 
bool enableFaultSourcePrsSel1
 Enable PRS fault source 1 (faultSourcePrsSel1).
 
TIMER_PRSSEL_TypeDef faultSourcePrsSel1
 Select which PRS signal to be PRS fault source 1.
 
TIMER_DtiFaultAction_TypeDef faultAction
 Fault Action.
 

TIMER Dead Time Insertion (DTI) initialization structure.

Field Documentation

◆ enable

bool TIMER_InitDTI_TypeDef::enable

Enable DTI or leave it disabled until TIMER_EnableDTI() is called.

◆ activeLowOut

bool TIMER_InitDTI_TypeDef::activeLowOut

DTI Output Polarity.

◆ invertComplementaryOut

bool TIMER_InitDTI_TypeDef::invertComplementaryOut

DTI Complementary Output Invert.

◆ autoRestart

bool TIMER_InitDTI_TypeDef::autoRestart

Enable Automatic Start-up functionality (when debugger exits).

◆ enablePrsSource

bool TIMER_InitDTI_TypeDef::enablePrsSource

Enable/disable PRS as DTI input.

◆ 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.

◆ riseTime

unsigned int TIMER_InitDTI_TypeDef::riseTime

DTI Rise Time.

◆ fallTime

unsigned int TIMER_InitDTI_TypeDef::fallTime

DTI Fall Time.

◆ 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.

◆ faultAction

TIMER_DtiFaultAction_TypeDef TIMER_InitDTI_TypeDef::faultAction

Fault Action.