ACMP_CapsenseInit_TypeDef Struct ReferenceEMLIB > ACMP
Capsense initialization structure.
Definition at line
606
of file
em_acmp.h
.
#include <
em_acmp.h
>
Data Fields |
|
uint32_t | biasProg |
bool | enable |
bool | fullBias |
ACMP_HysteresisLevel_TypeDef | hysteresisLevel_0 |
ACMP_HysteresisLevel_TypeDef | hysteresisLevel_1 |
ACMP_CapsenseResistor_TypeDef | resistor |
uint32_t | vddLevelHigh |
uint32_t | vddLevelLow |
Field Documentation
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
621
of file
em_acmp.h
.
Referenced by ACMP_CapsenseInit() .
bool ACMP_CapsenseInit_TypeDef::enable |
If true, ACMP is enabled after configuration.
Definition at line
680
of file
em_acmp.h
.
Referenced by ACMP_CapsenseInit() .
bool ACMP_CapsenseInit_TypeDef::fullBias |
Full-bias current. See the ACMP chapter about bias and response time in the reference manual for details.
Definition at line
610
of file
em_acmp.h
.
Referenced by ACMP_CapsenseInit() , and CAPLESENSE_setupACMP() .
ACMP_HysteresisLevel_TypeDef ACMP_CapsenseInit_TypeDef::hysteresisLevel_0 |
Hysteresis level when ACMP output is 0.
Definition at line
635
of file
em_acmp.h
.
Referenced by ACMP_CapsenseInit() .
ACMP_HysteresisLevel_TypeDef ACMP_CapsenseInit_TypeDef::hysteresisLevel_1 |
Hysteresis level when ACMP output is 1.
Definition at line
638
of file
em_acmp.h
.
Referenced by ACMP_CapsenseInit() .
ACMP_CapsenseResistor_TypeDef ACMP_CapsenseInit_TypeDef::resistor |
A resistor used in the capacative sensing circuit. For values see the device data sheet.
Definition at line
643
of file
em_acmp.h
.
Referenced by ACMP_CapsenseInit() .
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
Definition at line
667
of file
em_acmp.h
.
Referenced by ACMP_CapsenseInit() .
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
Definition at line
676
of file
em_acmp.h
.
Referenced by ACMP_CapsenseInit() .
The documentation for this struct was generated from the following file:
-
C:/repos/super_h1/platform/emlib/inc/
em_acmp.h