#include <em_acmp.h>
Data Fields | |
bool | fullBias |
bool | halfBias |
uint32_t | biasProg |
ACMP_WarmTime_TypeDef | warmTime |
ACMP_HysteresisLevel_TypeDef | hysteresisLevel |
ACMP_CapsenseResistor_TypeDef | resistor |
bool | lowPowerReferenceEnabled |
uint32_t | vddLevel |
bool | enable |
Capsense initialization structure.
Definition at line 159 of file em_acmp.h.
uint32_t ACMP_CapsenseInit_TypeDef::biasProg |
Bias current. See the ACMP chapter about bias and response time in the reference manual for details. Valid values are in the range 0-7.
Definition at line 171 of file em_acmp.h.
Referenced by ACMP_CapsenseInit().
If true, ACMP is being enabled after configuration.
Definition at line 193 of file em_acmp.h.
Referenced by ACMP_CapsenseInit().
Full bias current. See the ACMP chapter about bias and response time in the reference manual for details.
Definition at line 163 of file em_acmp.h.
Referenced by ACMP_CapsenseInit().
Half bias current. See the ACMP chapter about bias and response time in the reference manual for details.
Definition at line 167 of file em_acmp.h.
Referenced by ACMP_CapsenseInit().
Low power reference enabled. This setting, if enabled, reduces the power used by the VDD and bandgap references.
Definition at line 186 of file em_acmp.h.
Referenced by ACMP_CapsenseInit().
Resistor used in the capacative sensing circuit. For values see your device datasheet.
Definition at line 182 of file em_acmp.h.
Referenced by ACMP_CapsenseInit().
uint32_t ACMP_CapsenseInit_TypeDef::vddLevel |
Vdd reference value. VDD_SCALED = VDD × VDDLEVEL × 50mV/3.8V. Valid values are in the range 0-63.
Definition at line 190 of file em_acmp.h.
Referenced by ACMP_CapsenseInit().
Warmup time. This is measured in HFPERCLK cycles and should be about 10us in wall clock time.
Definition at line 175 of file em_acmp.h.
Referenced by ACMP_CapsenseInit().