MSP430™CapTIvateSoftwareLibraryAPIGuide
1_83_00_05
|
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 |
For large code model devices, a function pointer should be 32-bits. More... | |
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 uint16_t | tElectrodeChargeVoltageSourceSelectStyle |
typedef uint8_t | tInputImpedanceBiasCurrent |
typedef uint8_t | tElementStatusType |
typedef uint8_t | tCsCapSize |
typedef int32_t | IQ31_t |
typedef IQ31_t More... | |
typedef struct tSensor | tSensor |
For large code model devices, a function pointer should be 32-bits. More... | |
typedef tSliderSensorParams | tWheelSensorParams |
typedef uint8_t | tAppState |
Enumerations | |
enum | { eButtonGroup = 0x00, eSlider = 0x01, eWheel = 0x02, eTrackpad = 0x03, eProx = 0x04 } |
typedef tSensorType More... | |
enum | { eSelf = 0x00, eProjected = 0x01 } |
enum | { eDOIDown = 0x00, eDOIUp = 0x01 } |
enum | { eVectors = 0x00, eOtherPositionAlg } |
typedef tPositionAlgorithm More... | |
enum | { eCount = 0x00, eLTA = 0x01 } |
typedef tFilterOption More... | |
enum | { eStandard = 0x00, eMultiFrequency = 0x01, eMultiFrequencyWithOutlierRemoval = 0x02, eMultiFrequencyWithOutlierRemovalAndErrCorrection = 0x03, eNrOfConversionStyles } |
typedef tRawConversionStyle More... | |
enum | { eNoOversampling = 0x00, e2xOversampling = 0x01, e4xOversampling = 0x02, e8xOversampling = 0x03, e16xOversampling = 0x04, e32xOversampling = 0x05, eNrOfOversamplingStyles } |
typedef tOversamplingStyle More... | |
enum | { eVRegSupply = 0x0000, eDVCCSupply = 0x0100 } |
typedef tElectrodeChargeVoltageSourceSelectStyle More... | |
enum | { eZeroIbias = 0x00, eIbiasSelf25Mutual10 = 0x10, eIbiasSelf50Mutual10 = 0x20, eIbiasSelf100Mutual10 = 0x30 } |
typedef tInputImpedanceBiasCurrent More... | |
enum | { eTouchStatus = 0x00, eProxStatus, eNegativeTouchStatus, eDetectStatus, eBISTStatus, eNoiseStatus } |
typedef tElementStatusType More... | |
enum | { e80pFCsCap = 0x00, e40pFCsCap = 0x02, e20pFCsCap = 0x03 } |
typedef tCsCapSize More... | |
enum | tXYFilterType { eStatic, eDynamic } |
enum | tXYAlgorithm { eSingle, eMulti } |
enum | { eUIActive, eUIWakeOnProx } |
typedef tAppState More... | |
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 uint16_t tElectrodeChargeVoltageSourceSelectStyle |
typedef uint8_t tInputImpedanceBiasCurrent |
typedef uint8_t tElementStatusType |
typedef uint8_t tCsCapSize |
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
For large code model devices, a function pointer should be 32-bits.
typedef tSensor
The generic sensor structure holds the basic properties for a sensor
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 |
anonymous enum |
typedef tInputImpedanceBiasCurrent
Select the sensing Analog Front End input impedance levels, in terms of an internal bias current. Higher Ibias current results in lower input impedance.
anonymous enum |
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 |