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