ACMP_CapsenseInit_TypeDef Struct Reference

Capsense initialization structure.

#include <em_acmp.h>

Data Fields

bool fullBias
Full-bias current.
uint32_t biasProg
Bias current.
ACMP_HysteresisLevel_TypeDef hysteresisLevel_0
Hysteresis level when ACMP output is 0.
ACMP_HysteresisLevel_TypeDef hysteresisLevel_1
Hysteresis level when ACMP output is 1.
ACMP_CapsenseResistor_TypeDef resistor
A resistor used in the capacative sensing circuit.
uint32_t vddLevelHigh
This value configures the upper voltage threshold of the capsense oscillation rail.
uint32_t vddLevelLow
This value configures the lower voltage threshold of the capsense oscillation rail.
bool enable
If true, ACMP is enabled after configuration.

Capsense initialization structure.

Field Documentation

fullBias

bool ACMP_CapsenseInit_TypeDef::fullBias

Full-bias current.

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

biasProg

uint32_t ACMP_CapsenseInit_TypeDef::biasProg

Bias current.

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