ACMP initialization structure.
Public Attributes#
Full-bias current.
Half-bias current.
Bias current.
Enable setting the interrupt flag on the falling edge.
Enable setting the interrupt flag on the rising edge.
Warmup time, which is measured in HFPERCLK / HFPERCCLK cycles and should be about 10 us in wall clock time.
Hysteresis level.
Inactive value emitted by ACMP during warmup.
Low power reference enabled.
VDD reference value.
If true, ACMP is enabled after configuration.
Public Attribute Documentation#
fullBias#
bool ACMP_Init_TypeDef::fullBias
Full-bias current.
See the ACMP chapter about bias and response time in the reference manual for details.
749
of file platform/emlib/inc/em_acmp.h
halfBias#
bool ACMP_Init_TypeDef::halfBias
Half-bias current.
See the ACMP chapter about bias and response time in the reference manual for details.
755
of file platform/emlib/inc/em_acmp.h
biasProg#
uint32_t ACMP_Init_TypeDef::biasProg
Bias current.
See the ACMP chapter about bias and response time in the reference manual for details. Valid values are in the range 0-7.
760
of file platform/emlib/inc/em_acmp.h
interruptOnFallingEdge#
bool ACMP_Init_TypeDef::interruptOnFallingEdge
Enable setting the interrupt flag on the falling edge.
764
of file platform/emlib/inc/em_acmp.h
interruptOnRisingEdge#
bool ACMP_Init_TypeDef::interruptOnRisingEdge
Enable setting the interrupt flag on the rising edge.
768
of file platform/emlib/inc/em_acmp.h
warmTime#
ACMP_WarmTime_TypeDef ACMP_Init_TypeDef::warmTime
Warmup time, which is measured in HFPERCLK / HFPERCCLK cycles and should be about 10 us in wall clock time.
794
of file platform/emlib/inc/em_acmp.h
hysteresisLevel#
ACMP_HysteresisLevel_TypeDef ACMP_Init_TypeDef::hysteresisLevel
Hysteresis level.
800
of file platform/emlib/inc/em_acmp.h
inactiveValue#
bool ACMP_Init_TypeDef::inactiveValue
Inactive value emitted by ACMP during warmup.
816
of file platform/emlib/inc/em_acmp.h
lowPowerReferenceEnabled#
bool ACMP_Init_TypeDef::lowPowerReferenceEnabled
Low power reference enabled.
This setting, if enabled, reduces the power used by the VDD and bandgap references.
821
of file platform/emlib/inc/em_acmp.h
vddLevel#
uint32_t ACMP_Init_TypeDef::vddLevel
VDD reference value.
VDD_SCALED = VDD * VDDLEVEL * 50 mV/3.8 V. Valid values are in the 0-63 range.
831
of file platform/emlib/inc/em_acmp.h
enable#
bool ACMP_Init_TypeDef::enable
If true, ACMP is enabled after configuration.
835
of file platform/emlib/inc/em_acmp.h