34 #if defined(TIMER_COUNT) && (TIMER_COUNT > 0)
78 EFM_ASSERT(TIMER_REF_VALID(timer));
134 EFM_ASSERT(TIMER_REF_VALID(timer));
135 EFM_ASSERT(TIMER_CH_VALID(ch));
152 #if defined(_TIMER_DTCTRL_MASK)
165 EFM_ASSERT(
TIMER0 == timer);
222 EFM_ASSERT(TIMER_REF_VALID(timer));
237 for (i = 0; TIMER_CH_VALID(i); i++)
246 #if defined(TIMER_DTLOCK_LOCKKEY_UNLOCK)
uint32_t outputsEnableMask
#define _TIMER_DTTIME_DTFALLT_SHIFT
#define _TIMER_CTRL_MODE_SHIFT
#define TIMER_DTCTRL_DTPRSEN
#define _TIMER_CTRL_RISEA_SHIFT
TIMER_ClkSel_TypeDef clkSel
bool enableFaultSourcePrsSel0
TIMER_OutputAction_TypeDef cufoa
Emlib peripheral API "assert" implementation.
TIMER_PRSSEL_TypeDef faultSourcePrsSel0
#define _TIMER_DTOGEN_RESETVALUE
void TIMER_Reset(TIMER_TypeDef *timer)
Reset TIMER to same state as after a HW reset.
#define _TIMER_CNT_RESETVALUE
#define _TIMER_CC_CTRL_PRSSEL_SHIFT
#define _TIMER_DTTIME_DTRISET_SHIFT
TIMER_InputAction_TypeDef fallAction
#define _TIMER_TOPB_RESETVALUE
#define _TIMER_CC_CTRL_ICEVCTRL_SHIFT
#define TIMER_DTFC_DTPRS0FEN
#define _TIMER_DTTIME_DTPRESC_SHIFT
#define _TIMER_DTFC_DTPRS0FSEL_SHIFT
Timer/counter (TIMER) peripheral API.
#define _TIMER_CTRL_FALLA_SHIFT
#define TIMER_DTFC_DTLOCKUPFEN
#define TIMER_CTRL_DEBUGRUN
__STATIC_INLINE void TIMER_EnableDTI(TIMER_TypeDef *timer, bool enable)
Enable or disable DTI unit.
TIMER_CCMode_TypeDef mode
#define TIMER_DTLOCK_LOCKKEY_UNLOCK
#define TIMER_CTRL_DMACLRACT
void TIMER_InitDTI(TIMER_TypeDef *timer, const TIMER_InitDTI_TypeDef *init)
Initialize the TIMER DTI unit.
#define _TIMER_TOP_RESETVALUE
bool invertComplementaryOut
#define _TIMER_CC_CCVB_RESETVALUE
#define _TIMER_CC_CTRL_CMOA_SHIFT
TIMER_PRSSEL_TypeDef prsSel
#define _TIMER_CC_CTRL_MODE_SHIFT
#define TIMER_DTCTRL_DTDAS
#define _TIMER_CC_CTRL_CUFOA_SHIFT
#define _TIMER_IEN_RESETVALUE
#define _TIMER_CTRL_RESETVALUE
#define TIMER_DTFC_DTDBGFEN
TIMER_DtiFaultAction_TypeDef faultAction
#define TIMER_CC_CTRL_INSEL_PRS
#define TIMER_CC_CTRL_OUTINV
TIMER_PRSSEL_TypeDef faultSourcePrsSel1
TIMER_Event_TypeDef eventCtrl
#define TIMER_CC_CTRL_COIST
TIMER_Prescale_TypeDef prescale
#define _TIMER_DTFC_DTPRS1FSEL_SHIFT
#define _TIMER_CC_CTRL_COFOA_SHIFT
#define _TIMER_CTRL_CLKSEL_SHIFT
#define _TIMER_DTTIME_RESETVALUE
TIMER_PRSSEL_TypeDef prsSel
TIMER_Prescale_TypeDef prescale
TIMER_OutputAction_TypeDef cofoa
#define TIMER_CC_CTRL_FILT_ENABLE
#define _TIMER_CC_CTRL_RESETVALUE
void TIMER_Init(TIMER_TypeDef *timer, const TIMER_Init_TypeDef *init)
Initialize TIMER.
#define _TIMER_CC_CCV_RESETVALUE
#define _TIMER_DTCTRL_RESETVALUE
#define _TIMER_DTFAULTC_MASK
TIMER_InputAction_TypeDef riseAction
#define _TIMER_DTFC_RESETVALUE
#define _TIMER_CC_CTRL_ICEDGE_SHIFT
#define TIMER_DTCTRL_DTCINV
__STATIC_INLINE void TIMER_ClearDTIFault(TIMER_TypeDef *timer, uint32_t flags)
Clear DTI fault source flags.
#define TIMER_DTFC_DTPRS1FEN
bool enableFaultSourceCoreLockup
bool enableFaultSourcePrsSel1
#define _TIMER_DTFC_DTFA_SHIFT
void TIMER_InitCC(TIMER_TypeDef *timer, unsigned int ch, const TIMER_InitCC_TypeDef *init)
Initialize TIMER compare/capture channel.
TIMER_OutputAction_TypeDef cmoa
__STATIC_INLINE uint32_t TIMER_GetDTIFault(TIMER_TypeDef *timer)
Get DTI fault source flags status.
#define _TIMER_CTRL_PRESC_SHIFT
#define _TIMER_DTCTRL_DTPRSSEL_SHIFT
#define TIMER_CTRL_QDM_X4
bool enableFaultSourceDebugger
#define TIMER_DTCTRL_DTIPOL