Clock management unit (CMU) API.
void VCMP_Init(const VCMP_Init_TypeDef *vcmpInit)
Configure and enable Voltage Comparator.
Voltage Comparator (VCMP) peripheral API.
__STATIC_INLINE bool VCMP_VDDHigher(void)
Returns true, if Voltage Comparator indicated VDD > trigger level, else false.
__STATIC_INLINE void VCMP_Disable(void)
Disable Voltage Comparator.
void VDDCHECK_Init(void)
VCMP initialization routine.
__STATIC_INLINE bool VCMP_Ready(void)
VCMP output is ready.
void CMU_ClockEnable(CMU_Clock_TypeDef clock, bool enable)
Enable/disable a clock.
Vdd voltage check routines, using VCMP.
void VDDCHECK_Disable(void)
VCMP deinitialization routine.
__STATIC_INLINE uint32_t VCMP_VoltageToLevel(float v)
Calculate voltage to trigger level.
VCMP_WarmTime_TypeDef warmup
bool VDDCHECK_LowVoltage(float vdd)
Check if voltage is higher than indicated.
#define VCMP_INIT_DEFAULT