ACMP initialization structure.

Public Attributes#

uint32_t

Bias current.

ACMP accuracy mode.

bool

Inactive value emitted by ACMP during warmup.

uint32_t

VDD division factor.

bool

If true, ACMP is enabled after configuration.

Public Attribute Documentation#

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.


Definition at line 760 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.


Definition at line 775 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.


Definition at line 783 of file platform/emlib/inc/em_acmp.h

hysteresisLevel#

ACMP_HysteresisLevel_TypeDef ACMP_Init_TypeDef::hysteresisLevel

Hysteresis level.


Definition at line 800 of file platform/emlib/inc/em_acmp.h

inactiveValue#

bool ACMP_Init_TypeDef::inactiveValue

Inactive value emitted by ACMP during warmup.


Definition at line 816 of file platform/emlib/inc/em_acmp.h

vrefDiv#

uint32_t ACMP_Init_TypeDef::vrefDiv

VDD division factor.

VREFOUT = VREFIN * (VREFDIV / 63). Valid values are in the 0-63 range.


Definition at line 827 of file platform/emlib/inc/em_acmp.h

enable#

bool ACMP_Init_TypeDef::enable

If true, ACMP is enabled after configuration.


Definition at line 835 of file platform/emlib/inc/em_acmp.h