VCMP Initialization structure.
Public Attributes#
If set to true, reduces the bias current by half.
BIAS current configuration, depends on Half Bias setting above, see reference manual for more information.
Enable interrupt for falling edge.
Enable interrupt for rising edge.
Warm-up time in clock cycles.
Hysteresis configuration.
Output value when comparator is inactive, should be 0 or 1.
Enable low power mode for VDD and band gap reference.
Trigger level, according to formula: VDD Trigger Level = 1.667V + 0.034V x triggerLevel.
Enable VCMP after configuration.
Public Attribute Documentation#
biasProg#
int VCMP_Init_TypeDef::biasProg
BIAS current configuration, depends on Half Bias setting above, see reference manual for more information.
lowPowerRef#
bool VCMP_Init_TypeDef::lowPowerRef
Enable low power mode for VDD and band gap reference.
triggerLevel#
int VCMP_Init_TypeDef::triggerLevel
Trigger level, according to formula: VDD Trigger Level = 1.667V + 0.034V x triggerLevel.