ACMP_Init_TypeDef Struct ReferenceEMLIB > ACMP

ACMP initialization structure.

Definition at line 636 of file em_acmp.h.

#include <em_acmp.h>

Data Fields

uint32_t biasProg
 
bool enable
 
bool fullBias
 
bool halfBias
 
ACMP_HysteresisLevel_TypeDef hysteresisLevel
 
bool inactiveValue
 
bool interruptOnFallingEdge
 
bool interruptOnRisingEdge
 
bool lowPowerReferenceEnabled
 
uint32_t vddLevel
 
ACMP_WarmTime_TypeDef warmTime
 

Field Documentation

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

Referenced by ACMP_Init().

bool ACMP_Init_TypeDef::enable

If true, ACMP is being enabled after configuration.

Definition at line 714 of file em_acmp.h.

Referenced by ACMP_Init().

bool ACMP_Init_TypeDef::fullBias

Full bias current. See the ACMP chapter about bias and response time in the reference manual for details.

Definition at line 639 of file em_acmp.h.

Referenced by ACMP_Init().

bool ACMP_Init_TypeDef::halfBias

Half bias current. See the ACMP chapter about bias and response time in the reference manual for details.

Definition at line 644 of file em_acmp.h.

Referenced by ACMP_Init().

ACMP_HysteresisLevel_TypeDef ACMP_Init_TypeDef::hysteresisLevel

Hysteresis level

Definition at line 683 of file em_acmp.h.

Referenced by ACMP_Init().

bool ACMP_Init_TypeDef::inactiveValue

Inactive value emitted by the ACMP during warmup

Definition at line 699 of file em_acmp.h.

Referenced by ACMP_Init().

bool ACMP_Init_TypeDef::interruptOnFallingEdge

Enable setting the interrupt flag on falling edge

Definition at line 652 of file em_acmp.h.

Referenced by ACMP_Init().

bool ACMP_Init_TypeDef::interruptOnRisingEdge

Enable setting the interrupt flag on rising edge

Definition at line 655 of file em_acmp.h.

Referenced by ACMP_Init().

bool ACMP_Init_TypeDef::lowPowerReferenceEnabled

Low power reference enabled. This setting, if enabled, reduces the power used by the VDD and bandgap references.

Definition at line 704 of file em_acmp.h.

Referenced by ACMP_Init().

uint32_t ACMP_Init_TypeDef::vddLevel

Vdd reference value. VDD_SCALED = VDD * VDDLEVEL * 50mV/3.8V. Valid values are in the range 0-63.

Definition at line 710 of file em_acmp.h.

Referenced by ACMP_Init().

ACMP_WarmTime_TypeDef ACMP_Init_TypeDef::warmTime

Warmup time. This is measured in HFPERCLK cycles and should be about 10us in wall clock time.

Definition at line 678 of file em_acmp.h.

Referenced by ACMP_Init().


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