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.
#define _VCMP_CTRL_WARMTIME_MASK
Voltage Comparator (VCMP) peripheral API.
VCMP_Hysteresis_TypeDef hyst
#define _VCMP_CTRL_INACTVAL_SHIFT
__STATIC_INLINE void VCMP_IntClear(uint32_t flags)
Clear one or more pending VCMP interrupts.
#define VCMP_CTRL_HALFBIAS
#define VCMP_INPUTSEL_LPREF
#define _VCMP_INPUTSEL_TRIGLEVEL_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_BIASPROG_MASK
void VCMP_LowPowerRefSet(bool enable)
Enable or disable Low Power Reference setting.
#define _VCMP_CTRL_WARMTIME_SHIFT
#define _VCMP_INPUTSEL_TRIGLEVEL_SHIFT
VCMP_WarmTime_TypeDef warmup
#define _VCMP_CTRL_BIASPROG_SHIFT