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