34 #if defined(VCMP_COUNT) && (VCMP_COUNT > 0)
105 switch (vcmpInit->
hyst)
178 EFM_ASSERT((level > 0) && (level < 64));
void VCMP_Init(const VCMP_Init_TypeDef *vcmpInit)
Configure and enable Voltage Comparator.
Emlib peripheral API "assert" implementation.
Voltage Comparator (VCMP) peripheral API.
#define _VCMP_CTRL_WARMTIME_SHIFT
VCMP_Hysteresis_TypeDef hyst
#define _VCMP_INPUTSEL_TRIGLEVEL_SHIFT
__STATIC_INLINE void VCMP_IntClear(uint32_t flags)
Clear one or more pending VCMP interrupts.
#define _VCMP_CTRL_BIASPROG_MASK
void VCMP_TriggerSet(int level)
Configure trigger level of voltage comparator.
__STATIC_INLINE bool VCMP_Ready(void)
VCMP output is ready.
#define _VCMP_CTRL_INACTVAL_SHIFT
#define VCMP_INPUTSEL_LPREF
void VCMP_LowPowerRefSet(bool enable)
Enable or disable Low Power Reference setting.
#define VCMP_CTRL_HALFBIAS
#define _VCMP_INPUTSEL_TRIGLEVEL_MASK
VCMP_WarmTime_TypeDef warmup
#define _VCMP_CTRL_WARMTIME_MASK
#define _VCMP_CTRL_BIASPROG_SHIFT