34 #if defined(TIMER_COUNT) && (TIMER_COUNT > 0)
78 EFM_ASSERT(TIMER_REF_VALID(timer));
99 #
if defined(TIMER_CTRL_X2CNT) && defined(TIMER_CTRL_ATI)
100 | (init->count2x ? TIMER_CTRL_X2CNT : 0)
101 | (init->ati ? TIMER_CTRL_ATI : 0)
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_DTFC_DTPRS0FSEL_SHIFT
#define _TIMER_CTRL_CLKSEL_SHIFT
#define _TIMER_CC_CTRL_MODE_SHIFT
TIMER_ClkSel_TypeDef clkSel
#define TIMER_CC_CTRL_COIST
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_RESETVALUE
#define _TIMER_TOP_RESETVALUE
#define _TIMER_DTFC_DTFA_SHIFT
#define TIMER_CC_CTRL_INSEL_PRS
#define _TIMER_IEN_RESETVALUE
#define TIMER_CTRL_DEBUGRUN
Timer/counter (TIMER) peripheral API.
__STATIC_INLINE void TIMER_EnableDTI(TIMER_TypeDef *timer, bool enable)
Enable or disable DTI unit.
#define _TIMER_TOPB_RESETVALUE
TIMER_CCMode_TypeDef mode
void TIMER_InitDTI(TIMER_TypeDef *timer, const TIMER_InitDTI_TypeDef *init)
Initialize the TIMER DTI unit.
#define _TIMER_CC_CTRL_RESETVALUE
bool invertComplementaryOut
#define _TIMER_CTRL_PRESC_SHIFT
#define TIMER_DTFC_DTLOCKUPFEN
#define _TIMER_DTTIME_DTPRESC_SHIFT
#define TIMER_CC_CTRL_OUTINV
#define _TIMER_CC_CCV_RESETVALUE
#define _TIMER_CC_CTRL_CUFOA_SHIFT
#define _TIMER_DTFC_DTPRS1FSEL_SHIFT
#define _TIMER_CTRL_FALLA_SHIFT
TIMER_PRSSEL_TypeDef prsSel
#define TIMER_CC_CTRL_FILT_ENABLE
#define TIMER_DTFC_DTPRS1FEN
#define TIMER_CTRL_QDM_X4
#define _TIMER_DTTIME_DTFALLT_SHIFT
#define TIMER_CTRL_DMACLRACT
#define TIMER_DTCTRL_DTCINV
TIMER_DtiFaultAction_TypeDef faultAction
#define _TIMER_DTCTRL_DTPRSSEL_SHIFT
#define _TIMER_DTTIME_DTRISET_SHIFT
TIMER_PRSSEL_TypeDef faultSourcePrsSel1
TIMER_Event_TypeDef eventCtrl
TIMER_Prescale_TypeDef prescale
#define _TIMER_CC_CTRL_CMOA_SHIFT
#define _TIMER_CNT_RESETVALUE
#define _TIMER_DTFC_RESETVALUE
#define TIMER_DTCTRL_DTIPOL
#define _TIMER_DTOGEN_RESETVALUE
#define _TIMER_DTFAULTC_MASK
TIMER_PRSSEL_TypeDef prsSel
TIMER_Prescale_TypeDef prescale
#define _TIMER_CTRL_RISEA_SHIFT
#define _TIMER_CC_CTRL_ICEDGE_SHIFT
TIMER_OutputAction_TypeDef cofoa
#define TIMER_DTFC_DTPRS0FEN
#define _TIMER_CTRL_MODE_SHIFT
void TIMER_Init(TIMER_TypeDef *timer, const TIMER_Init_TypeDef *init)
Initialize TIMER.
#define TIMER_DTCTRL_DTDAS
#define _TIMER_CC_CTRL_PRSSEL_SHIFT
#define _TIMER_DTTIME_RESETVALUE
#define _TIMER_DTCTRL_RESETVALUE
#define TIMER_DTCTRL_DTPRSEN
TIMER_InputAction_TypeDef riseAction
__STATIC_INLINE void TIMER_ClearDTIFault(TIMER_TypeDef *timer, uint32_t flags)
Clear DTI fault source flags.
#define TIMER_DTFC_DTDBGFEN
bool enableFaultSourceCoreLockup
bool enableFaultSourcePrsSel1
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_DTLOCK_LOCKKEY_UNLOCK
#define _TIMER_CC_CTRL_COFOA_SHIFT
#define _TIMER_CC_CTRL_ICEVCTRL_SHIFT
#define _TIMER_CC_CCVB_RESETVALUE
bool enableFaultSourceDebugger