ACMP_CapsenseInit_TypeDef Struct Reference

Capsense initialization structure.

#include <em_acmp.h>

Data Fields

uint32_t biasProg
Bias current.
ACMP_HysteresisLevel_TypeDef hysteresisLevel
Hysteresis level.
ACMP_CapsenseResistor_TypeDef resistor
A resistor used in the capacative sensing circuit.
uint32_t vrefDiv
VDD division factor.
bool enable
If true, ACMP is enabled after configuration.

Capsense initialization structure.

Field Documentation

biasProg

uint32_t ACMP_CapsenseInit_TypeDef::biasProg

Bias current.

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

hysteresisLevel

ACMP_HysteresisLevel_TypeDef ACMP_CapsenseInit_TypeDef::hysteresisLevel

Hysteresis level.

resistor

ACMP_CapsenseResistor_TypeDef ACMP_CapsenseInit_TypeDef::resistor

A resistor used in the capacative sensing circuit.

For values see the device data sheet.

vrefDiv

uint32_t ACMP_CapsenseInit_TypeDef::vrefDiv

VDD division factor.

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

enable

bool ACMP_CapsenseInit_TypeDef::enable

If true, ACMP is enabled after configuration.