#include <em_vcmp.h>
Data Fields | |
bool | halfBias |
int | biasProg |
bool | irqFalling |
bool | irqRising |
VCMP_WarmTime_TypeDef | warmup |
VCMP_Hysteresis_TypeDef | hyst |
int | inactive |
bool | lowPowerRef |
int | triggerLevel |
bool | enable |
VCMP Initialization structure
Definition at line 97 of file em_vcmp.h.
BIAS current configuration, depends on halfBias setting, above, see reference manual
Definition at line 103 of file em_vcmp.h.
Referenced by VCMP_Init().
Enable VCMP after configuration
Definition at line 120 of file em_vcmp.h.
Referenced by VCMP_Init().
If set to true, will reduce by half the bias current
Definition at line 100 of file em_vcmp.h.
Referenced by VCMP_Init().
Output value when comparator is inactive, should be 0 or 1
Definition at line 113 of file em_vcmp.h.
Referenced by VCMP_Init().
Enable interrupt for falling edge
Definition at line 105 of file em_vcmp.h.
Referenced by VCMP_Init().
Enable interrupt for rising edge
Definition at line 107 of file em_vcmp.h.
Referenced by VCMP_Init().
Enable low power mode for VDD and bandgap reference
Definition at line 115 of file em_vcmp.h.
Referenced by VCMP_Init().
Trigger level, according to formula VDD Trigger Level = 1.667V + 0.034V x triggerLevel
Definition at line 118 of file em_vcmp.h.
Referenced by VCMP_Init().