Capsense initialization structure.
Public Attributes#
Full-bias current.
Bias current.
Hysteresis level when ACMP output is 0.
Hysteresis level when ACMP output is 1.
A resistor used in the capacitive sensing circuit.
This value configures the upper voltage threshold of the capsense oscillation rail.
This value configures the lower voltage threshold of the capsense oscillation rail.
If true, ACMP is enabled after configuration.
Public Attribute 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.
618
of file platform/emlib/inc/em_acmp.h
biasProg#
uint32_t ACMP_CapsenseInit_TypeDef::biasProg
Bias current.
See the ACMP chapter about bias and response time in the reference manual for details.
629
of file platform/emlib/inc/em_acmp.h
hysteresisLevel_0#
ACMP_HysteresisLevel_TypeDef ACMP_CapsenseInit_TypeDef::hysteresisLevel_0
Hysteresis level when ACMP output is 0.
643
of file platform/emlib/inc/em_acmp.h
hysteresisLevel_1#
ACMP_HysteresisLevel_TypeDef ACMP_CapsenseInit_TypeDef::hysteresisLevel_1
Hysteresis level when ACMP output is 1.
646
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.
651
of file platform/emlib/inc/em_acmp.h
vddLevelHigh#
uint32_t ACMP_CapsenseInit_TypeDef::vddLevelHigh
This value configures the upper voltage threshold of the capsense oscillation rail.
The voltage threshold is calculated as follows: VDD * (vddLevelHigh + 1) / 64
675
of file platform/emlib/inc/em_acmp.h
vddLevelLow#
uint32_t ACMP_CapsenseInit_TypeDef::vddLevelLow
This value configures the lower voltage threshold of the capsense oscillation rail.
The voltage threshold is calculated as follows: VDD * (vddLevelLow + 1) / 64
684
of file platform/emlib/inc/em_acmp.h
enable#
bool ACMP_CapsenseInit_TypeDef::enable
If true, ACMP is enabled after configuration.
688
of file platform/emlib/inc/em_acmp.h