EFM32 Gecko Software Documentation  efm32g-doc-4.2.1
ACMP_CapsenseInit_TypeDef Struct Reference

#include <em_acmp.h>

Data Fields

bool fullBias
 
bool halfBias
 
uint32_t biasProg
 
ACMP_WarmTime_TypeDef warmTime
 
ACMP_HysteresisLevel_TypeDef hysteresisLevel
 
ACMP_CapsenseResistor_TypeDef resistor
 
bool lowPowerReferenceEnabled
 
uint32_t vddLevel
 
bool enable
 

Detailed Description

Capsense initialization structure.

Definition at line 472 of file em_acmp.h.

Field Documentation

bool ACMP_CapsenseInit_TypeDef::fullBias

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

Definition at line 476 of file em_acmp.h.

Referenced by ACMP_CapsenseInit(), and CAPLESENSE_setupACMP().

bool ACMP_CapsenseInit_TypeDef::halfBias

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

Definition at line 481 of file em_acmp.h.

Referenced by ACMP_CapsenseInit().

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

Referenced by ACMP_CapsenseInit().

ACMP_WarmTime_TypeDef ACMP_CapsenseInit_TypeDef::warmTime

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

Definition at line 491 of file em_acmp.h.

Referenced by ACMP_CapsenseInit().

ACMP_HysteresisLevel_TypeDef ACMP_CapsenseInit_TypeDef::hysteresisLevel

Hysteresis level

Definition at line 496 of file em_acmp.h.

Referenced by ACMP_CapsenseInit().

ACMP_CapsenseResistor_TypeDef ACMP_CapsenseInit_TypeDef::resistor

Resistor used in the capacative sensing circuit. For values see your device datasheet.

Definition at line 507 of file em_acmp.h.

Referenced by ACMP_CapsenseInit().

bool ACMP_CapsenseInit_TypeDef::lowPowerReferenceEnabled

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

Definition at line 512 of file em_acmp.h.

Referenced by ACMP_CapsenseInit().

uint32_t ACMP_CapsenseInit_TypeDef::vddLevel

Vdd reference value. VDD_SCALED = (Vdd * VDDLEVEL) / 63. Valid values are in the range 0-63.

Definition at line 518 of file em_acmp.h.

Referenced by ACMP_CapsenseInit().

bool ACMP_CapsenseInit_TypeDef::enable

If true, ACMP is being enabled after configuration.

Definition at line 540 of file em_acmp.h.

Referenced by ACMP_CapsenseInit().


The documentation for this struct was generated from the following file: