![]() |
![]() |
|
MSP430™CapTIvateSoftwareLibraryAPIGuide
1_70_00_03
|
CapTIvate™ Capacitive Touch Library type definitions. More...
Data Structures | |
| union | IQ16_t |
| typedef IQ16_t More... | |
| struct | tDeBounceSettings |
| typedef tDeBounceSettings More... | |
| struct | tCaptivateElementTuning |
| typedef tCaptivateElementTuning More... | |
| struct | tElement |
| typedef tElement More... | |
| struct | tCycle |
| struct | tGenericSensorParams |
| struct | tSensor |
| struct | tButtonSensorParams |
| struct | tSliderSensorParams |
| struct | tTrackPadSensorParams |
| typedef tTrackPadSensorParams More... | |
| struct | tProxSensorParams |
| struct | tEMCConfig |
| typedef tEMCConfig More... | |
| struct | tCaptivateApplication |
| typedef tCaptivateApplication More... | |
Macros | |
| #define | NULL (0) |
| #define | _IQ31(x) (((IQ31_t)((x) * ((IQ31_t)1 << 30))) << 1) |
| def _IQ31 More... | |
Typedefs | |
| typedef uint8_t | tSensorType |
| typedef uint8_t | tSenseTechnology |
| typedef uint8_t | tDirectionOfInterest |
| typedef uint8_t | tPositionAlgorithm |
| typedef uint8_t | tFilterOption |
| typedef uint8_t | tRawConversionStyle |
| typedef uint8_t | tOversamplingStyle |
| typedef uint8_t | tElementStatusType |
| typedef int32_t | IQ31_t |
| typedef IQ31_t More... | |
| typedef tSliderSensorParams | tWheelSensorParams |
| typedef uint8_t | tAppState |
CapTIvate™ Capacitive Touch Library type definitions.
| #define NULL (0) |
def _IQ31
Convert a value into IQ31 format.
| typedef uint8_t tSensorType |
| typedef uint8_t tSenseTechnology |
| typedef uint8_t tDirectionOfInterest |
| typedef uint8_t tPositionAlgorithm |
| typedef uint8_t tFilterOption |
| typedef uint8_t tRawConversionStyle |
| typedef uint8_t tOversamplingStyle |
| typedef uint8_t tElementStatusType |
| typedef int32_t IQ31_t |
typedef IQ31_t
IQ31_t is a fixed-point fractional data type that supports the following range and accuracy: MIN=-1; MAX=0.999999999; RES=0.0000000005
typedef tWheelSensorParams
Wheel sensor specific parameters. One instance must be created and tied to every wheel sensor. Note that the wheel sensor parameters are identical to the slider sensor's.
| typedef uint8_t tAppState |
| anonymous enum |
typedef tSensorType
Specifies the different Capacitive Sensor Implementations available Note: This is defined as a 4 bit field in the structures, limiting the maximum number of sensor types to 16.
| anonymous enum |
typedef tSenseTechnology
Specifies the different sensing methods available to an element, namely Self or Projected capacitance.
NOTE: This fits in a single bit field in the element structure!
| anonymous enum |
typedef tDirectionOfInterest
Specifies the direction of interest for a sensor group. The direction refers to the count value of successive conversions, either increasing (up) or decreasing (down).
NOTE: This fits in a single bit field in the element structure!
| Enumerator | |
|---|---|
| eDOIDown | Decreasing Counts. |
| eDOIUp | Increasing Counts. |
| anonymous enum |
| anonymous enum |
| anonymous enum |
typedef tRawConversionStyle
Specifies the conversion style to use when performing a raw conversion.
| anonymous enum |
typedef tOversamplingStyle
Specifies the number of oversamples to perform when noise immunity (EMC) mode is enabled.
| anonymous enum |
| enum tXYFilterType |
| enum tXYAlgorithm |
Specifies the two different XY position algorithms implemented.
eSingle - Only computes one point, based on a large weighted sum across the whole trackpad (better for large/flat finger inputs)
eMulti - Computes multiple position outputs (large/flat inputs could be seen as multiple small inputs)
| Enumerator | |
|---|---|
| eSingle | |
| eMulti | |
| anonymous enum |
typedef tAppState
The app state enumeration is used by the CapTIvate™ application structure to manage the current state of the application (active or autonomous).
| Enumerator | |
|---|---|
| eUIActive | eUIActive indicates that the UI is the active state |
| eUIWakeOnProx | eUIWakeOnProx indicates that the UI is the autonomous state |