ACMP_CapsenseInit_TypeDef Struct ReferenceEMLIB > ACMP

Capsense initialization structure.

Definition at line 606 of file em_acmp.h.

#include <em_acmp.h>

Data Fields

uint32_t biasProg
 
bool enable
 
ACMP_HysteresisLevel_TypeDef hysteresisLevel
 
ACMP_CapsenseResistor_TypeDef resistor
 
uint32_t vrefDiv
 

Field Documentation

uint32_t ACMP_CapsenseInit_TypeDef::biasProg

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

Definition at line 621 of file em_acmp.h.

Referenced by ACMP_CapsenseInit(), and CAPLESENSE_setupACMP().

bool ACMP_CapsenseInit_TypeDef::enable

If true, ACMP is enabled after configuration.

Definition at line 680 of file em_acmp.h.

Referenced by ACMP_CapsenseInit().

ACMP_HysteresisLevel_TypeDef ACMP_CapsenseInit_TypeDef::hysteresisLevel

Hysteresis level.

Definition at line 632 of file em_acmp.h.

Referenced by ACMP_CapsenseInit().

ACMP_CapsenseResistor_TypeDef ACMP_CapsenseInit_TypeDef::resistor

A resistor used in the capacative sensing circuit. For values see the device data sheet.

Definition at line 643 of file em_acmp.h.

Referenced by ACMP_CapsenseInit().

uint32_t ACMP_CapsenseInit_TypeDef::vrefDiv

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

Definition at line 654 of file em_acmp.h.

Referenced by ACMP_CapsenseInit().


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