ACMP initialization structure.
Public Attributes#
Full-bias current.
Bias current.
Enable setting the interrupt flag on the falling edge.
Enable setting the interrupt flag on the rising edge.
Input range.
ACMP accuracy mode.
Select the power source for the ACMP.
Hysteresis when ACMP output is 0.
Hysteresis when ACMP output is 1.
VLP Input source.
Inactive value emitted by ACMP during warmup.
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.
753
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.
764
of file platform/emlib/inc/em_acmp.h
interruptOnFallingEdge#
bool ACMP_Init_TypeDef::interruptOnFallingEdge
Enable setting the interrupt flag on the falling edge.
768
of file platform/emlib/inc/em_acmp.h
interruptOnRisingEdge#
bool ACMP_Init_TypeDef::interruptOnRisingEdge
Enable setting the interrupt flag on the rising edge.
772
of file platform/emlib/inc/em_acmp.h
inputRange#
ACMP_InputRange_TypeDef ACMP_Init_TypeDef::inputRange
Input range.
Adjust this setting to optimize the performance for a given input voltage range.
779
of file platform/emlib/inc/em_acmp.h
accuracy#
ACMP_Accuracy_TypeDef ACMP_Init_TypeDef::accuracy
ACMP accuracy mode.
Select the accuracy mode that matches the required current usage and accuracy requirement. Low accuracy consumes less current while high accuracy consumes more current.
787
of file platform/emlib/inc/em_acmp.h
powerSource#
ACMP_PowerSource_TypeDef ACMP_Init_TypeDef::powerSource
Select the power source for the ACMP.
792
of file platform/emlib/inc/em_acmp.h
hysteresisLevel_0#
ACMP_HysteresisLevel_TypeDef ACMP_Init_TypeDef::hysteresisLevel_0
Hysteresis when ACMP output is 0.
807
of file platform/emlib/inc/em_acmp.h
hysteresisLevel_1#
ACMP_HysteresisLevel_TypeDef ACMP_Init_TypeDef::hysteresisLevel_1
Hysteresis when ACMP output is 1.
810
of file platform/emlib/inc/em_acmp.h
vlpInput#
ACMP_VLPInput_Typedef ACMP_Init_TypeDef::vlpInput
VLP Input source.
Select between using VADIV or VBDIV as the VLP source.
816
of file platform/emlib/inc/em_acmp.h
inactiveValue#
bool ACMP_Init_TypeDef::inactiveValue
Inactive value emitted by ACMP during warmup.
820
of file platform/emlib/inc/em_acmp.h
enable#
bool ACMP_Init_TypeDef::enable
If true, ACMP is enabled after configuration.
839
of file platform/emlib/inc/em_acmp.h