MSP430™CapTIvateSoftwareLibraryAPIGuide  1_83_00_05
Data Fields
tTrackPadSensorParams Struct Reference

typedef tTrackPadSensorParams More...

#include <CAPT_Type.h>

Collaboration diagram for tTrackPadSensorParams:
Collaboration graph
[legend]

Data Fields

IQ16_t Position_X
 Trackpad Position (Filtered) More...
 
IQ16_t Position_Y
 
void(* pvProcessSensor )(tSensor *)
 
void(* pvProcessGesture )(tSensor *)
 
tElement ** pMatrix
 pMatrix is a pointer to the element matrix containing address' for each element More...
 
uint16_t * pSumX
 Pointers to SumX and SumY used for trackpad calculations. More...
 
uint16_t * pSumY
 
uint16_t ui16Raw_X
 Raw Position. More...
 
uint16_t ui16Raw_Y
 
uint16_t ui16PrevRaw_X
 Prev Raw Position (needed for mav filter..can still remove) More...
 
uint16_t ui16PrevRaw_Y
 
uint16_t ui16DynamicFilterHighSpeed
 
uint16_t ui16DynamicFilterLowSpeed
 
uint16_t ui16RejectionThreshold
 Threshold parameter ui16AdjacentChannelSuppression. More...
 
uint16_t ui16Resolution_X
 Trackpad Resolution (across x-axis) More...
 
uint16_t ui16Resolution_Y
 Trackpad Resolution (across y-axis) More...
 
uint16_t ui16UpperTrim_X
 Trackpad upper trim (x-axis) More...
 
uint16_t ui16LowerTrim_X
 Trackpad lower trim (x-axis) More...
 
uint16_t ui16UpperTrim_Y
 Trackpad upper trim (y-axis) More...
 
uint16_t ui16LowerTrim_Y
 Trackpad lower trim (y-axis) More...
 
uint16_t ui16TapTime_Min
 
uint16_t ui16TapTime_Max
 
uint16_t ui16SwipeTime_Max
 
uint16_t ui16DoubleTapTime_Max
 
uint16_t ui16TapHoldTime_Min
 
uint16_t ui16SwipeDistance_Min
 
uint8_t ui8DynamicFilterLowSpeedBeta
 
uint8_t ui8Gesture
 
uint8_t ui8TotalColumns
 
uint8_t ui8TotalRows
 
uint8_t ui8StaticFilterBeta
 Trackpad Static Filter Beta. More...
 
bool bFilterEnable: 1
 Trackpad Filter enable. More...
 
bool bFilterType: 1
 Select TrackPad Filter type (static or dynamic) More...
 
bool bPresentTouch: 1
 Current touch flag. More...
 
bool bReseed: 1
 Reseed Trackpad Filter. More...
 

Detailed Description

typedef tTrackPadSensorParams

This structure contains the configuration parameters for the trackpad.

Field Documentation

§ Position_X

IQ16_t tTrackPadSensorParams::Position_X

Trackpad Position (Filtered)

§ Position_Y

IQ16_t tTrackPadSensorParams::Position_Y

§ pvProcessSensor

void(* tTrackPadSensorParams::pvProcessSensor) (tSensor *)

Pointer to the trackpad sensor processing function. If !=NULL, this function will be called after this sensor is measured.

§ pvProcessGesture

void(* tTrackPadSensorParams::pvProcessGesture) (tSensor *)

Pointer to the trackpad sensor gesture processing function. If !=NULL, this function will be called after this sensor has been processed.

§ pMatrix

tElement** tTrackPadSensorParams::pMatrix

pMatrix is a pointer to the element matrix containing address' for each element

§ pSumX

uint16_t* tTrackPadSensorParams::pSumX

Pointers to SumX and SumY used for trackpad calculations.

§ pSumY

uint16_t* tTrackPadSensorParams::pSumY

§ ui16Raw_X

uint16_t tTrackPadSensorParams::ui16Raw_X

Raw Position.

§ ui16Raw_Y

uint16_t tTrackPadSensorParams::ui16Raw_Y

§ ui16PrevRaw_X

uint16_t tTrackPadSensorParams::ui16PrevRaw_X

Prev Raw Position (needed for mav filter..can still remove)

§ ui16PrevRaw_Y

uint16_t tTrackPadSensorParams::ui16PrevRaw_Y

§ ui16DynamicFilterHighSpeed

uint16_t tTrackPadSensorParams::ui16DynamicFilterHighSpeed

Dynamic Beta parameter ui16DynamicFilterHighSpeed The speed at which the sensor beta is used

§ ui16DynamicFilterLowSpeed

uint16_t tTrackPadSensorParams::ui16DynamicFilterLowSpeed

Dynamic Beta parameter ui16DynamicFilterLowSpeed The speed at which the ui8LowerBeta kicks in

§ ui16RejectionThreshold

uint16_t tTrackPadSensorParams::ui16RejectionThreshold

Threshold parameter ui16AdjacentChannelSuppression.

§ ui16Resolution_X

uint16_t tTrackPadSensorParams::ui16Resolution_X

Trackpad Resolution (across x-axis)

§ ui16Resolution_Y

uint16_t tTrackPadSensorParams::ui16Resolution_Y

Trackpad Resolution (across y-axis)

§ ui16UpperTrim_X

uint16_t tTrackPadSensorParams::ui16UpperTrim_X

Trackpad upper trim (x-axis)

§ ui16LowerTrim_X

uint16_t tTrackPadSensorParams::ui16LowerTrim_X

Trackpad lower trim (x-axis)

§ ui16UpperTrim_Y

uint16_t tTrackPadSensorParams::ui16UpperTrim_Y

Trackpad upper trim (y-axis)

§ ui16LowerTrim_Y

uint16_t tTrackPadSensorParams::ui16LowerTrim_Y

Trackpad lower trim (y-axis)

§ ui16TapTime_Min

uint16_t tTrackPadSensorParams::ui16TapTime_Min

TAP SAMPLE THRESHOLD MINIMUM This is minimum time allowed for a valid tap If #samples => MINIMUM then begin gesture If #samples < MINUMUM then ignore

§ ui16TapTime_Max

uint16_t tTrackPadSensorParams::ui16TapTime_Max

TAP SAMPLE THRESHOLD - MAXIMUM This is the maximum time allowed for a tap If #samples < MAX then valid Tap If #sample => MAX then not a TAP

§ ui16SwipeTime_Max

uint16_t tTrackPadSensorParams::ui16SwipeTime_Max

SWIPE SAMPLE THRESHOLD MAXIMUM This is maximum time allowed for a swipe If #samples < MAX then valid swipe If #samples => MAX then not valid swipe

§ ui16DoubleTapTime_Max

uint16_t tTrackPadSensorParams::ui16DoubleTapTime_Max

DOUBLE TAP DELAY THRESHOLD MAX This is the maximum time allowed from the end of the first tap until the start of second tap If #samples < MAX then valid double tap If #samples => MAX then not valid double tap

§ ui16TapHoldTime_Min

uint16_t tTrackPadSensorParams::ui16TapHoldTime_Min

TAP-HOLD THRESHOLD MIN This is the minimum time allowed for a continuous touch to be a tap-hold If #samples < MIN then not valid tap-hold If #samples => MIN then valid tap-hold

§ ui16SwipeDistance_Min

uint16_t tTrackPadSensorParams::ui16SwipeDistance_Min

TAP_DISTANCE_THRESHOLD = valid 1 Finger press transitions into swipe if motion exceeds this threshold This is the minimum distance (difference between touch position and release position) for a valid swipe If delta < MIN then valid swipe If delta > MAX then not a valid swipe

§ ui8DynamicFilterLowSpeedBeta

uint8_t tTrackPadSensorParams::ui8DynamicFilterLowSpeedBeta

Dynamic Beta parameters Lower beta value

§ ui8Gesture

uint8_t tTrackPadSensorParams::ui8Gesture

Current Gesture Updated during runtime by application

§ ui8TotalColumns

uint8_t tTrackPadSensorParams::ui8TotalColumns

Trackpad size Size is generated by design center

§ ui8TotalRows

uint8_t tTrackPadSensorParams::ui8TotalRows

§ ui8StaticFilterBeta

uint8_t tTrackPadSensorParams::ui8StaticFilterBeta

Trackpad Static Filter Beta.

§ bFilterEnable

bool tTrackPadSensorParams::bFilterEnable

Trackpad Filter enable.

§ bFilterType

bool tTrackPadSensorParams::bFilterType

Select TrackPad Filter type (static or dynamic)

§ bPresentTouch

bool tTrackPadSensorParams::bPresentTouch

Current touch flag.

§ bReseed

bool tTrackPadSensorParams::bReseed

Reseed Trackpad Filter.


The documentation for this struct was generated from the following file:
© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale