Capsense initialization structure.

Public Attributes#

uint32_t

Bias current.

A resistor used in the capacitive sensing circuit.

uint32_t

VDD division factor.

bool

If true, ACMP is enabled after configuration.

Public Attribute 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.


Definition at line 625 of file platform/emlib/inc/em_acmp.h

hysteresisLevel#

ACMP_HysteresisLevel_TypeDef ACMP_CapsenseInit_TypeDef::hysteresisLevel

Hysteresis level.


Definition at line 636 of file platform/emlib/inc/em_acmp.h

resistor#

ACMP_CapsenseResistor_TypeDef ACMP_CapsenseInit_TypeDef::resistor

A resistor used in the capacitive sensing circuit.

For values see the device data sheet.


Definition at line 647 of file platform/emlib/inc/em_acmp.h

vrefDiv#

uint32_t ACMP_CapsenseInit_TypeDef::vrefDiv

VDD division factor.

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


Definition at line 658 of file platform/emlib/inc/em_acmp.h

enable#

bool ACMP_CapsenseInit_TypeDef::enable

If true, ACMP is enabled after configuration.


Definition at line 684 of file platform/emlib/inc/em_acmp.h