VCMP_Init_TypeDef Struct ReferenceEMLIB > VCMP
VCMP Initialization structure.
Definition at line 94
of file em_vcmp.h
.
#include <
em_vcmp.h
>
Data Fields | |
int | biasProg |
bool | enable |
bool | halfBias |
VCMP_Hysteresis_TypeDef | hyst |
int | inactive |
bool | irqFalling |
bool | irqRising |
bool | lowPowerRef |
int | triggerLevel |
VCMP_WarmTime_TypeDef | warmup |
Field Documentation
int VCMP_Init_TypeDef::biasProg |
BIAS current configuration, depends on Half Bias setting above, see reference manual for more information.
Definition at line 99
of file em_vcmp.h
.
Referenced by VCMP_Init().
bool VCMP_Init_TypeDef::enable |
Enable VCMP after configuration.
Definition at line 116
of file em_vcmp.h
.
Referenced by VCMP_Init(), and VDDCHECK_LowVoltage().
bool VCMP_Init_TypeDef::halfBias |
If set to true, reduces the bias current by half.
Definition at line 96
of file em_vcmp.h
.
Referenced by VCMP_Init().
VCMP_Hysteresis_TypeDef VCMP_Init_TypeDef::hyst |
int VCMP_Init_TypeDef::inactive |
Output value when comparator is inactive, should be 0 or 1.
Definition at line 109
of file em_vcmp.h
.
Referenced by VCMP_Init().
bool VCMP_Init_TypeDef::irqFalling |
Enable interrupt for falling edge.
Definition at line 101
of file em_vcmp.h
.
Referenced by VCMP_Init().
bool VCMP_Init_TypeDef::irqRising |
Enable interrupt for rising edge.
Definition at line 103
of file em_vcmp.h
.
Referenced by VCMP_Init().
bool VCMP_Init_TypeDef::lowPowerRef |
Enable low power mode for VDD and band gap reference.
Definition at line 111
of file em_vcmp.h
.
Referenced by VCMP_Init(), and VDDCHECK_LowVoltage().
int VCMP_Init_TypeDef::triggerLevel |
Trigger level, according to formula: VDD Trigger Level = 1.667V + 0.034V x triggerLevel
Definition at line 114
of file em_vcmp.h
.
Referenced by VCMP_Init(), and VDDCHECK_LowVoltage().
VCMP_WarmTime_TypeDef VCMP_Init_TypeDef::warmup |
Warm-up time in clock cycles.
Definition at line 105
of file em_vcmp.h
.
Referenced by VCMP_Init(), and VDDCHECK_LowVoltage().
The documentation for this struct was generated from the following file:
- C:/repos/embsw_super_h1/platform/emlib/inc/
em_vcmp.h