ACMP_Init_TypeDef Struct ReferenceEMLIB > ACMP

ACMP initialization structure.

Definition at line 733 of file em_acmp.h .

#include < em_acmp.h >

Data Fields

ACMP_Accuracy_TypeDef accuracy
uint32_t biasProg
bool enable
ACMP_HysteresisLevel_TypeDef hysteresisLevel
bool inactiveValue
ACMP_InputRange_TypeDef inputRange
uint32_t vrefDiv

Field Documentation

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 771 of file em_acmp.h .

Referenced by ACMP_Init() .

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 748 of file em_acmp.h .

Referenced by ACMP_Init() .

bool ACMP_Init_TypeDef::enable

If true, ACMP is enabled after configuration.

Definition at line 823 of file em_acmp.h .

Referenced by ACMP_Init() .

ACMP_HysteresisLevel_TypeDef ACMP_Init_TypeDef::hysteresisLevel

Hysteresis level.

Definition at line 788 of file em_acmp.h .

Referenced by ACMP_Init() .

bool ACMP_Init_TypeDef::inactiveValue

Inactive value emitted by ACMP during warmup.

Definition at line 804 of file em_acmp.h .

Referenced by ACMP_Init() .

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 763 of file em_acmp.h .

Referenced by ACMP_Init() .

uint32_t ACMP_Init_TypeDef::vrefDiv

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

Definition at line 815 of file em_acmp.h .

Referenced by ACMP_Init() .


The documentation for this struct was generated from the following file:
  • C:/repos/super_h1/platform/emlib/inc/ em_acmp.h