Capsense initialization structure.
Public Attributes#
Full-bias current.
Half-bias current.
Bias current.
Warmup time, which is measured in HFPERCLK / HFPERCCLK cycles and should be about 10 us in wall clock time.
Hysteresis level.
A resistor used in the capacitive sensing circuit.
Low-power reference enabled.
VDD reference value.
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.
614
of file platform/emlib/inc/em_acmp.h
halfBias#
bool ACMP_CapsenseInit_TypeDef::halfBias
Half-bias current.
See the ACMP chapter about bias and response time in the reference manual for details.
620
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.
625
of file platform/emlib/inc/em_acmp.h
warmTime#
ACMP_WarmTime_TypeDef ACMP_CapsenseInit_TypeDef::warmTime
Warmup time, which is measured in HFPERCLK / HFPERCCLK cycles and should be about 10 us in wall clock time.
630
of file platform/emlib/inc/em_acmp.h
hysteresisLevel#
ACMP_HysteresisLevel_TypeDef ACMP_CapsenseInit_TypeDef::hysteresisLevel
Hysteresis level.
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.
647
of file platform/emlib/inc/em_acmp.h
lowPowerReferenceEnabled#
bool ACMP_CapsenseInit_TypeDef::lowPowerReferenceEnabled
Low-power reference enabled.
This setting, if enabled, reduces the power used by VDD and bandgap references.
652
of file platform/emlib/inc/em_acmp.h
vddLevel#
uint32_t ACMP_CapsenseInit_TypeDef::vddLevel
VDD reference value.
VDD_SCALED = (VDD * VDDLEVEL) / 63. Valid values are in the 0-63 range.
662
of file platform/emlib/inc/em_acmp.h
enable#
bool ACMP_CapsenseInit_TypeDef::enable
If true, ACMP is enabled after configuration.
684
of file platform/emlib/inc/em_acmp.h