MSP430™CapTIvateSoftwareLibraryAPIGuide 1_70_00_03

CAPT_Type.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // CAPT_Type.h
3 //
5 //
8 //
9 //*****************************************************************************
10 //*****************************************************************************
13 //*****************************************************************************
14 #ifndef __CAPT_TYPE__
15 #define __CAPT_TYPE__
16
17 #ifndef S_SPLINT_S
18 #include <stdint.h>
19 #include <stdbool.h>
20 #endif
21
22 #ifndef NULL
23 #define NULL (0)
24 #endif
25
26 //*****************************************************************************
27 //
29 //
33 //
34 //*****************************************************************************
35 enum
36 {
37 //
40 //
41 eButtonGroup = 0x00,
42
43 //
46 //
47 eSlider = 0x01,
48
49 //
53 //
54 eWheel = 0x02,
55
56 //
59 //
60 eTrackpad = 0x03,
61
62 //
66 //
67 eProx = 0x04
68 };
69 typedef uint8_t tSensorType;
70
71 //*****************************************************************************
72 //
79 //
80 //*****************************************************************************
81 enum
82 {
83 //
86 //
87 eSelf = 0x00,
88
89 //
92 //
93 eProjected = 0x01
94 };
95 typedef uint8_t tSenseTechnology;
96
97 //*****************************************************************************
98 //
106 //
107 //*****************************************************************************
108 enum
109 {
110 //
112 //
113 eDOIDown = 0x00,
114
115 //
117 //
118 eDOIUp = 0x01
119 };
120 typedef uint8_t tDirectionOfInterest;
121
122 //*****************************************************************************
123 //
125 //
128 //
129 //*****************************************************************************
130 enum
131 {
132 //
134 //
135 eVectors = 0x00,
136
137 //
139 //
140 eOtherPositionAlg
141 };
142 typedef uint8_t tPositionAlgorithm;
143
144 //*****************************************************************************
145 //
147 //
149 //
150 //*****************************************************************************
151 enum
152 {
153 //
155 //
156 eCount = 0x00,
157
158 //
160 //
161 eLTA = 0x01
162 };
163 typedef uint8_t tFilterOption;
164
165 //*****************************************************************************
166 //
168 //
170 //
171 //*****************************************************************************
172 enum
173 {
174 //
176 //
177 eStandard = 0x00,
178
179 //
182 //
183 eMultiFrequency = 0x01,
184
185 //
190 //
191 eMultiFrequencyWithOutlierRemoval = 0x02,
192
193 //
205 //
206 eMultiFrequencyWithOutlierRemovalAndErrCorrection = 0x03,
207
208 //
210 //
211 eNrOfConversionStyles
212 };
213 typedef uint8_t tRawConversionStyle;
214
215 //*****************************************************************************
216 //
218 //
221 //
222 //*****************************************************************************
223 enum
224 {
225 //
227 //
228 eNoOversampling = 0x00,
229
230 //
232 //
233 e2xOversampling = 0x01,
234
235 //
237 //
238 e4xOversampling = 0x02,
239
240 //
242 //
243 e8xOversampling = 0x03,
244
245 //
247 //
248 e16xOversampling = 0x04,
249
250 //
252 //
253 e32xOversampling = 0x05,
254
255 //
257 //
258 eNrOfOversamplingStyles
259 };
260 typedef uint8_t tOversamplingStyle;
261
262 //*****************************************************************************
263 //
265 //
267 //
268 //*****************************************************************************
269 enum
270 {
271 //
273 //
274 eTouchStatus = 0x00,
275
276 //
278 //
279 eProxStatus,
280
281 //
283 //
284 eNegativeTouchStatus,
285
286 //
288 //
289 eDetectStatus,
290
291 //
293 //
294 eBISTStatus,
295
296 //
298 //
299 eNoiseStatus
300 };
301 typedef uint8_t tElementStatusType;
302
303 //*****************************************************************************
304 //
305 //@typedef tXYFilterType
313 //
314 //*****************************************************************************
315 typedef enum
316 {
317 eStatic,
318 eDynamic
319 }
320 tXYFilterType;
321
322 //*****************************************************************************
323 //
333 //
334 //*****************************************************************************
335 typedef enum
336 {
337 eSingle,
338 eMulti
339 }
340 tXYAlgorithm;
341
342 //*****************************************************************************
343 //
345 //
350 //
351 //*****************************************************************************
352 typedef union
353 {
354 struct
355 {
356 //
358 //
359 uint16_t ui16Decimal;
360
361 //
363 //
364 uint16_t ui16Natural;
365 };
366
367 //
369 //
370 uint32_t ui32Full;
371 } IQ16_t;
372
373 //*****************************************************************************
374 //
376 //
379 //
380 //*****************************************************************************
381 typedef int32_t IQ31_t;
382
383 //*****************************************************************************
384 //
386 //
388 //
389 //*****************************************************************************
390 #define _IQ31(x) (((IQ31_t)((x) * ((IQ31_t)1 << 30))) << 1)
391
392 //*****************************************************************************
393 //
395 //
398 //
399 //*****************************************************************************
400 typedef struct
401 {
402 //
405 //
406 uint8_t DbIn : 4;
407
408 //
411 //
412 uint8_t DbOut : 4;
413 }
414 tDeBounceSettings;
415
416 //*****************************************************************************
417 //
419 //
424 //
425 //*****************************************************************************
426 typedef struct
427 {
428 //
430 //
431 uint16_t ui16OffsetTap;
432
433 //
435 //
436 uint8_t ui8CoarseGainRatio;
437
438 //
440 //
441 uint8_t ui8FineGainRatio;
442 } tCaptivateElementTuning;
443
444 //*****************************************************************************
445 //
447 //
451 //
452 //*****************************************************************************
453 typedef struct
454 {
455 //
459 //
460 IQ16_t filterCount;
461
462 //
466 //
467 IQ16_t LTA;
468
469 //
474 //
475 tCaptivateElementTuning* pTuning;
476
477 //
481 //
482 uint16_t* pRawCount;
483
484 //
487 //
488 uint8_t ui8TouchThreshold;
489
490 //
493 //
494 tDeBounceSettings ProxDbCounter;
495
496 //
499 //
500 tDeBounceSettings TouchDbCounter;
501
502 //
505 //
506 uint8_t ui8RxPin : 4;
507
508 //
510 //
511 uint8_t ui8RxBlock : 4;
512
513 //
516 //
517 uint8_t ui8TxPin : 4;
518
519 //
522 //
523 uint8_t ui8TxBlock : 4;
524
525 //
527 //
528 bool bNoiseDetected : 1;
529
530 //
534 //
535 bool bBISTFail :1;
536
537 //
541 //
542 bool bDetect : 1;
543
544 //
547 //
548 bool bProx : 1;
549
550 //
554 //
555 bool bNegativeTouch : 1;
556
557 //
559 //
560 bool bTouch : 1;
561
562 //
564 //
565 bool bElementHalt : 1;
566
567 //
569 //
570 bool bReseed : 1;
571
572 //*************************************************************************
573 // NOTE: AT THIS POINT, THE LIBRARY DEVIATES FROM THE ELEMENT STRUCTURE
574 // USED FOR THE ROM BUILD. ALL ITEMS BELOW THIS POINT IN THE ELEMENT
575 // STRUCTURE DID NOT EXIST FOR THE ROM BUILD, AND ARE NOT REFERENCED
576 // BY ROM FXNS.
577 //*************************************************************************
578
579 //
581 //
582 uint16_t ui16PrevCompositeRawCount;
583
584 //
586 //
587 uint16_t ui16CompositeRawCount;
588
589 //
591 //
592 uint16_t ui16NoiseCount;
593
594 }
595 tElement;
596
597 //*****************************************************************************
598 //
604 //
605 //*****************************************************************************
606 typedef struct
607 {
608 //
613 //
614 tElement** pElements;
615
616 //
619 //
620 uint8_t ui8NrOfElements;
621 }
622 tCycle;
623
624 //*****************************************************************************
625 //
631 //
632 //*****************************************************************************
633 typedef struct
634 {
635 //
637 //
638 uint16_t ui16Value;
639
640 //
642 //
643 uint16_t ui16Parameter;
644 }
645 tGenericSensorParams;
646
647 //*****************************************************************************
648 //
652 //
653 //*****************************************************************************
654 typedef struct
655 {
656 //
659 //
660 void (* pvCallback)();
661
662 //
666 //
667 const tCycle** pCycle;
668
669 //
671 //
672 tGenericSensorParams* pSensorParams;
673
674 //
680 //
681 uint16_t ui16ConversionGain;
682
683 //
689 //
690 uint16_t ui16ConversionCount;
691
692 //
695 //
696 uint16_t ui16ErrorThreshold;
697
698 //
701 //
702 uint16_t ui16ProxThreshold;
703
704 //
708 //
709 uint16_t ui16NegativeTouchThreshold;
710
711 //
715 //
716 uint16_t ui16TimeoutThreshold;
717
718 //
720 //
721 uint16_t ui16Timeout;
722
723 //
726 //
727 tDeBounceSettings ProxDbThreshold;
728
729 //
732 //
733 tDeBounceSettings TouchDbThreshold;
734
735 //
738 //
739 uint8_t ui8NrOfCycles : 5;
740
741 //
745 //
746 uint8_t ui8FreqDiv : 3;
747
748 //
752 //
753 uint8_t ui8ChargeLength : 4;
754
755 //
759 //
760 uint8_t ui8TransferLength : 4;
761
762 //
765 //
766 tSensorType TypeOfSensor : 4;
767
768 //
770 //
771 bool bCountFilterEnable : 1;
772
773 //
775 //
776 uint8_t ui8CntBeta : 3;
777
778 //
780 //
781 uint8_t ui8LTABeta : 3;
782
783 //
787 //
788 uint8_t ui8BiasControl : 2;
789
790 //
793 //
794
795 //
799 //
800 uint8_t ui8InputSyncControl : 2;
801
802 //
805 //
806 tSenseTechnology SensingMethod : 1;
807
808 //
810 //
811 tDirectionOfInterest DirectionOfInterest : 1;
812
813 //
815 //
816 bool bSensorUpdating : 1;
817
818 //
821 //
822 bool bCsDischarge : 1;
823
824 //
827 //
828 bool bModEnable : 1;
829
830 //
833 //
834 bool bLpmControl : 1;
835
836 //
839 //
840 bool bTimerSyncControl : 1;
841
842 //
845 //
846 bool bReCalibrateEnable : 1;
847
848 //
852 //
853 bool bIdleState : 1;
854
855 //
857 //
858 bool bSensorHalt : 1;
859
860 //
863 //
864 bool bPTSensorHalt : 1;
865
866 //
869 //
870 bool bPTElementHalt : 1;
871
872 //
875 //
876 bool bSensorDetect : 1;
877
878 //
881 //
882 bool bSensorProx : 1;
883
884 //
887 //
888 bool bSensorTouch : 1;
889
890 //
893 //
894 bool bSensorPrevTouch : 1;
895
896 //
899 //
900 bool bSensorNegativeTouch : 1;
901
902 //
905 //
906 bool bMaxCountError : 1;
907
908 //
911 //
912 bool bCalibrationError : 1;
913
914 //
916 //
917 bool bCounterOVF : 1;
918
919 //
921 //
922 bool bSensorNoiseState : 1;
923
924 } tSensor;
925
926
927 //*****************************************************************************
928 //
933 //
934 //*****************************************************************************
935 typedef struct
936 {
937
938 //
942 //
943 tSensor** pSensor;
944
945 //
948 //
949 uint8_t ui8NumberOfSensors;
950
951 //
954 //
955 uint16_t ui16DominantElement;
956
957 //
960 //
961 uint16_t ui16PrevDominantElement;
962 }
963 tButtonSensorParams;
964
965 //*****************************************************************************
966 //
971 //
972 //*****************************************************************************
973 typedef struct
974 {
975 //
977 //
978 IQ16_t SliderPosition;
979
980 //
982 //
983 uint16_t ui16Resolution;
984
985 //
987 //
988 uint16_t SliderLower;
989
990 //
992 //
993 uint16_t SliderUpper;
994
995 //
997 //
998 uint8_t SliderBeta;
999
1000 //
1002 //
1003 uint8_t ui8TotalElements;
1004
1005 //
1007 //
1008 tPositionAlgorithm SliderAlgorithm : 4;
1009
1010 //
1012 //
1013 bool SliderFilterEnable : 1;
1014
1015 //
1017 //
1018 bool Reseed : 1;
1019 }
1020 tSliderSensorParams;
1021
1022
1023 /*
1024 * Trackpad sensor parameters
1025 */
1026 //*****************************************************************************
1027 //
1029 //
1031 //
1032 //*****************************************************************************
1033 typedef struct
1034 {
1035
1036 //
1038 //
1039 IQ16_t Position_X;
1040 IQ16_t Position_Y;
1041
1042 //
1045 //
1046 void (* pvProcessSensor)();
1047
1048 //
1051 //
1052 void (* pvProcessGesture)();
1053
1054 //
1056 //
1057 tElement** pMatrix;
1058
1059 //
1061 uint16_t* pSumX;
1062 uint16_t* pSumY;
1063
1064 //
1066 //
1067 uint16_t ui16Raw_X;
1068 uint16_t ui16Raw_Y;
1069
1070 //
1072 //
1073 uint16_t ui16PrevRaw_X;
1074 uint16_t ui16PrevRaw_Y;
1075
1076 //
1080 //
1081 uint16_t ui16TopSpeed;
1082
1083 //
1087 //
1088 uint16_t ui16BottomSpeed;
1089
1090 //
1093 //
1094 uint16_t ui16Resolution_X;
1095
1096 //
1099 //
1100 uint16_t ui16Resolution_Y;
1101
1102 //
1105 //
1106 uint16_t ui16UpperTrim_X;
1107
1108 //
1111 //
1112 uint16_t ui16LowerTrim_X;
1113
1114 //
1117 //
1118 uint16_t ui16UpperTrim_Y;
1119
1120 //
1123 //
1124 uint16_t ui16LowerTrim_Y;
1125
1131 //
1132 uint16_t ui16TapTime_Min;
1133
1134
1140 //
1141 uint16_t ui16TapTime_Max;
1142
1143
1149 //
1150 uint16_t ui16SwipeTime_Max;
1151
1152
1158 //
1159 uint16_t ui16DoubleTapTime_Max;
1160
1161
1167 //
1168 uint16_t ui16TapHoldTime_Min;
1169
1170
1176 //
1177 uint16_t ui16SwipeDistance_Min;
1178
1179 //
1183 //
1184 uint8_t ui8LowerBeta;
1185
1186 //
1189 //
1190 uint8_t ui8Gesture;
1191
1192 //
1195 //
1196 uint8_t ui8TotalColumns;
1197 uint8_t ui8TotalRows;
1198
1199 //
1202 //
1203 uint8_t ui8TrackPadSensorBeta;
1204
1205 //
1208 //
1209 bool bTrackPadFilterEnable : 1;
1210
1211 //
1214 //
1215 bool bTrackPadFilterType : 1;
1216
1217 //
1219 //
1220 bool bPresentTouch;
1221
1222 //
1225 //
1226 bool bGestureEnable;
1227
1228 //
1230 //
1231 bool bReseed;
1232
1233 }tTrackPadSensorParams;
1234
1235 //*****************************************************************************
1236 //
1242 //
1243 //*****************************************************************************
1244 typedef tSliderSensorParams tWheelSensorParams;
1245
1246 //*****************************************************************************
1247 //
1252 //
1253 //*****************************************************************************
1254 typedef struct
1255 {
1256 //
1260 //
1261 tSensor** pSensor;
1262
1263 //
1266 //
1267 uint8_t ui8NumberOfSensors;
1268 }
1269 tProxSensorParams;
1270
1271 //*****************************************************************************
1272 //
1274 //
1276 //
1277 //*****************************************************************************
1278 typedef struct
1279 {
1280 //
1283 //
1284 IQ31_t coeffA;
1285
1286 //
1289 //
1290 IQ31_t coeffB;
1291
1292 //
1297 //
1298 uint16_t ui16CalibrationNoiseLimit;
1299
1300 //
1304 //
1305 uint16_t ui8CalibrationTestSampleSize;
1306
1307 //
1311 //
1312 uint8_t ui8NoiseThreshold;
1313
1314 //
1316 //
1317 uint8_t ui8MaxRelThreshAdj;
1318
1319 //
1322 //
1323 uint8_t ui8NoiseLevelFilterEntryThresh;
1324
1325 //
1328 //
1329 uint8_t ui8NoiseLevelFilterExitThresh;
1330
1331 //
1335 //
1336 uint8_t ui8NoiseLevelFilterUp : 4;
1337
1338 //
1342 //
1343 uint8_t ui8NoiseLevelFilterDown : 4;
1344
1345 //
1348 //
1349 tOversamplingStyle selfModeOversamplingStyle : 4;
1350
1351 //
1354 //
1355 tOversamplingStyle projModeOversamplingStyle : 4;
1356
1357 //
1360 //
1361 tRawConversionStyle selfModeConversionStyle : 3;
1362
1363 //
1366 //
1367 tRawConversionStyle projModeConversionStyle : 3;
1368
1369 //
1371 //
1372 bool bJitterFilterEnable : 1;
1373
1374 //
1377 //
1378 bool bEnableDynamicThresholdAdjustment : 1;
1379
1380 } tEMCConfig;
1381
1382 //*****************************************************************************
1383 //
1385 //
1388 //
1389 //*****************************************************************************
1390 enum
1391 {
1392 //
1394 //
1395 eUIActive,
1396
1397 //
1399 //
1400 eUIWakeOnProx
1401 };
1402 typedef uint8_t tAppState;
1403
1404 //*****************************************************************************
1405 //
1407 //
1411 //
1412 //*****************************************************************************
1413 typedef struct
1414 {
1415 //
1418 //
1419 tSensor** pSensorList;
1420
1421 //
1424 //
1425 uint16_t ui16ActiveModeScanPeriod;
1426
1427 //
1430 //
1431 uint16_t ui16WakeOnProxModeScanPeriod;
1432
1433 //
1437 //
1438 uint16_t ui16InactivityTimeout;
1439
1440 //
1448 //
1449 uint8_t ui8WakeupInterval;
1450
1451 //
1453 //
1454 uint8_t ui8NrOfSensors;
1455
1456 //
1458 //
1459 uint8_t ui8AppLPM;
1460
1461 //
1463 //
1464 tAppState state;
1465
1466 //
1469 //
1470 bool bElementDataTxEnable : 1;
1471
1472 //
1475 //
1476 bool bSensorDataTxEnable : 1;
1477 }
1478 tCaptivateApplication;
1479
1480 #endif
1481 //*****************************************************************************
1484 //*****************************************************************************
tCaptivateElementTuning::ui16OffsetTap
uint16_t ui16OffsetTap
Offset Correction Tap (16 Bit Selection)
Definition: CAPT_Type.h:431
tEMCConfig::ui8CalibrationTestSampleSize
uint16_t ui8CalibrationTestSampleSize
Definition: CAPT_Type.h:1305
tDirectionOfInterest
uint8_t tDirectionOfInterest
Definition: CAPT_Type.h:120
tTrackPadSensorParams::ui16Resolution_Y
uint16_t ui16Resolution_Y
Definition: CAPT_Type.h:1100
tEMCConfig::ui8NoiseLevelFilterEntryThresh
uint8_t ui8NoiseLevelFilterEntryThresh
Definition: CAPT_Type.h:1323
tTrackPadSensorParams::Position_Y
IQ16_t Position_Y
Definition: CAPT_Type.h:1040
tSensor::ui16ProxThreshold
uint16_t ui16ProxThreshold
Definition: CAPT_Type.h:702
tTrackPadSensorParams::ui16DoubleTapTime_Max
uint16_t ui16DoubleTapTime_Max
Definition: CAPT_Type.h:1159
tButtonSensorParams::pSensor
tSensor ** pSensor
Definition: CAPT_Type.h:943
tTrackPadSensorParams::ui8Gesture
uint8_t ui8Gesture
Definition: CAPT_Type.h:1190
tProxSensorParams
Definition: CAPT_Type.h:1254
IQ16_t::ui32Full
uint32_t ui32Full
Full 32 bits.
Definition: CAPT_Type.h:370
tCaptivateApplication::ui16WakeOnProxModeScanPeriod
uint16_t ui16WakeOnProxModeScanPeriod
Definition: CAPT_Type.h:1431
tSensor::ui16ErrorThreshold
uint16_t ui16ErrorThreshold
Definition: CAPT_Type.h:696
tProxSensorParams::ui8NumberOfSensors
uint8_t ui8NumberOfSensors
Definition: CAPT_Type.h:1267
tButtonSensorParams::ui8NumberOfSensors
uint8_t ui8NumberOfSensors
Definition: CAPT_Type.h:949
tTrackPadSensorParams::ui16UpperTrim_Y
uint16_t ui16UpperTrim_Y
Definition: CAPT_Type.h:1118
tTrackPadSensorParams::ui16UpperTrim_X
uint16_t ui16UpperTrim_X
Definition: CAPT_Type.h:1106
IQ16_t
typedef IQ16_t
Definition: CAPT_Type.h:352
eNegativeTouchStatus
Negative touch status flag.
Definition: CAPT_Type.h:284
tCaptivateApplication::ui8AppLPM
uint8_t ui8AppLPM
ui8MeasurementLPM defines the low power mode to use in the app.
Definition: CAPT_Type.h:1459
tElement::pRawCount
uint16_t * pRawCount
Definition: CAPT_Type.h:482
tCycle::pElements
tElement ** pElements
Definition: CAPT_Type.h:614
tSensorType
uint8_t tSensorType
Definition: CAPT_Type.h:69
eDOIDown
Decreasing Counts.
Definition: CAPT_Type.h:113
tSliderSensorParams::SliderBeta
uint8_t SliderBeta
Specifies the beta coefficient of the slider/wheel position filter.
Definition: CAPT_Type.h:998
tElement::filterCount
IQ16_t filterCount
Definition: CAPT_Type.h:460
tEMCConfig::coeffA
IQ31_t coeffA
Definition: CAPT_Type.h:1284
tPositionAlgorithm
uint8_t tPositionAlgorithm
Definition: CAPT_Type.h:142
tCaptivateApplication::state
tAppState state
tAppState controls the state (active or autonomous) of the UI.
Definition: CAPT_Type.h:1464
tTrackPadSensorParams::ui8TrackPadSensorBeta
uint8_t ui8TrackPadSensorBeta
Definition: CAPT_Type.h:1203
eMulti
Definition: CAPT_Type.h:338
eMultiFrequencyWithOutlierRemovalAndErrCorrection
Definition: CAPT_Type.h:206
tButtonSensorParams::ui16PrevDominantElement
uint16_t ui16PrevDominantElement
Definition: CAPT_Type.h:961
eButtonGroup
Definition: CAPT_Type.h:41
tEMCConfig
typedef tEMCConfig
Definition: CAPT_Type.h:1278
tOversamplingStyle
uint8_t tOversamplingStyle
Definition: CAPT_Type.h:260
e32xOversampling
32x oversampling is enabled
Definition: CAPT_Type.h:253
tSliderSensorParams::SliderPosition
IQ16_t SliderPosition
Current slider/wheel position stored as a filtered value.
Definition: CAPT_Type.h:978
tSensor::ui16Timeout
uint16_t ui16Timeout
Timeout counter for the sensor.
Definition: CAPT_Type.h:721
tSenseTechnology
uint8_t tSenseTechnology
Definition: CAPT_Type.h:95
tGenericSensorParams::ui16Parameter
uint16_t ui16Parameter
Generic Parameter.
Definition: CAPT_Type.h:643
eNoOversampling
Oversampling is disabled.
Definition: CAPT_Type.h:228
tTrackPadSensorParams::ui16Resolution_X
uint16_t ui16Resolution_X
Definition: CAPT_Type.h:1094
tTrackPadSensorParams::ui16Raw_X
uint16_t ui16Raw_X
Raw Position.
Definition: CAPT_Type.h:1067
tTrackPadSensorParams::ui16TapHoldTime_Min
uint16_t ui16TapHoldTime_Min
Definition: CAPT_Type.h:1168
tProxSensorParams::pSensor
tSensor ** pSensor
Definition: CAPT_Type.h:1261
tSensor::TouchDbThreshold
tDeBounceSettings TouchDbThreshold
Definition: CAPT_Type.h:733
tElement::TouchDbCounter
tDeBounceSettings TouchDbCounter
Definition: CAPT_Type.h:500
tTrackPadSensorParams::pSumY
uint16_t * pSumY
Definition: CAPT_Type.h:1062
tTrackPadSensorParams::ui8LowerBeta
uint8_t ui8LowerBeta
Definition: CAPT_Type.h:1184
eProjected
Definition: CAPT_Type.h:93
eUIActive
eUIActive indicates that the UI is the active state
Definition: CAPT_Type.h:1395
IQ16_t::ui16Decimal
uint16_t ui16Decimal
Lower 16; Decimal Bits.
Definition: CAPT_Type.h:359
tTrackPadSensorParams::bPresentTouch
bool bPresentTouch
Current touch flag.
Definition: CAPT_Type.h:1220
tSensor
Definition: CAPT_Type.h:654
tElement::ui16PrevCompositeRawCount
uint16_t ui16PrevCompositeRawCount
The previous composite raw count for this element.
Definition: CAPT_Type.h:582
eSingle
Definition: CAPT_Type.h:337
tCaptivateApplication::ui16InactivityTimeout
uint16_t ui16InactivityTimeout
Definition: CAPT_Type.h:1438
eNoiseStatus
Noise status flag.
Definition: CAPT_Type.h:299
tElement::ui16CompositeRawCount
uint16_t ui16CompositeRawCount
The current composite raw count for this element.
Definition: CAPT_Type.h:587
tTrackPadSensorParams::ui8TotalRows
uint8_t ui8TotalRows
Definition: CAPT_Type.h:1197
tCaptivateElementTuning
typedef tCaptivateElementTuning
Definition: CAPT_Type.h:426
tSensor::ui16TimeoutThreshold
uint16_t ui16TimeoutThreshold
Definition: CAPT_Type.h:716
tWheelSensorParams
tSliderSensorParams tWheelSensorParams
Definition: CAPT_Type.h:1244
tFilterOption
uint8_t tFilterOption
Definition: CAPT_Type.h:163
tSliderSensorParams::ui8TotalElements
uint8_t ui8TotalElements
Total elements in slider/wheel sensor (pre-populated)
Definition: CAPT_Type.h:1003
eTouchStatus
Touch status flag.
Definition: CAPT_Type.h:274
tElement
typedef tElement
Definition: CAPT_Type.h:453
eProx
Definition: CAPT_Type.h:67
IQ16_t::ui16Natural
uint16_t ui16Natural
Upper 16; Integer Bits.
Definition: CAPT_Type.h:364
tElement::pTuning
tCaptivateElementTuning * pTuning
Definition: CAPT_Type.h:475
eStatic
Definition: CAPT_Type.h:317
tCaptivateApplication
typedef tCaptivateApplication
Definition: CAPT_Type.h:1413
tSliderSensorParams::ui16Resolution
uint16_t ui16Resolution
Specifies the slider/wheel resolution in points.
Definition: CAPT_Type.h:983
tXYFilterType
tXYFilterType
Definition: CAPT_Type.h:315
tSensor::pCycle
const tCycle ** pCycle
Definition: CAPT_Type.h:667
eLTA
Select the filtered LTA (long term average) value.
Definition: CAPT_Type.h:161
eCount
Select the filtered count value.
Definition: CAPT_Type.h:156
tEMCConfig::ui8MaxRelThreshAdj
uint8_t ui8MaxRelThreshAdj
ui8MaxRelThreshAdj specifies the maximum relative threshold adjustment.
Definition: CAPT_Type.h:1317
e8xOversampling
8x oversampling is enabled
Definition: CAPT_Type.h:243
tTrackPadSensorParams::ui16BottomSpeed
uint16_t ui16BottomSpeed
Definition: CAPT_Type.h:1088
e4xOversampling
4x oversampling is enabled
Definition: CAPT_Type.h:238
eMultiFrequencyWithOutlierRemoval
Definition: CAPT_Type.h:191
tButtonSensorParams::ui16DominantElement
uint16_t ui16DominantElement
Definition: CAPT_Type.h:955
e16xOversampling
16x oversampling is enabled
Definition: CAPT_Type.h:248
tTrackPadSensorParams::ui16TopSpeed
uint16_t ui16TopSpeed
Definition: CAPT_Type.h:1081
eOtherPositionAlg
Selection of alternative algorithm (not implemented to date)
Definition: CAPT_Type.h:140
tGenericSensorParams::ui16Value
uint16_t ui16Value
Generic Value.
Definition: CAPT_Type.h:638
tTrackPadSensorParams::ui8TotalColumns
uint8_t ui8TotalColumns
Definition: CAPT_Type.h:1196
tAppState
uint8_t tAppState
Definition: CAPT_Type.h:1402
tElement::ProxDbCounter
tDeBounceSettings ProxDbCounter
Definition: CAPT_Type.h:494
tTrackPadSensorParams::ui16PrevRaw_Y
uint16_t ui16PrevRaw_Y
Definition: CAPT_Type.h:1074
tTrackPadSensorParams::bReseed
bool bReseed
Reseed Trackpad Filter.
Definition: CAPT_Type.h:1231
tTrackPadSensorParams::pSumX
uint16_t * pSumX
Pointers to SumX and SumY used for trackpad calculations.
Definition: CAPT_Type.h:1061
tTrackPadSensorParams::Position_X
IQ16_t Position_X
Trackpad Position (Filtered)
Definition: CAPT_Type.h:1039
tElement::ui8TouchThreshold
uint8_t ui8TouchThreshold
Definition: CAPT_Type.h:488
eVectors
Selection of the vector algorithm.
Definition: CAPT_Type.h:135
tSensor::pSensorParams
tGenericSensorParams * pSensorParams
Pointer to the sensor-specific parameter structure.
Definition: CAPT_Type.h:672
tCaptivateApplication::ui16ActiveModeScanPeriod
uint16_t ui16ActiveModeScanPeriod
Definition: CAPT_Type.h:1425
tTrackPadSensorParams::ui16LowerTrim_Y
uint16_t ui16LowerTrim_Y
Definition: CAPT_Type.h:1124
tTrackPadSensorParams::ui16TapTime_Max
uint16_t ui16TapTime_Max
Definition: CAPT_Type.h:1141
eNrOfOversamplingStyles
The number of different oversampling styles.
Definition: CAPT_Type.h:258
tEMCConfig::ui8NoiseThreshold
uint8_t ui8NoiseThreshold
Definition: CAPT_Type.h:1312
eDOIUp
Increasing Counts.
Definition: CAPT_Type.h:118
tCycle::ui8NrOfElements
uint8_t ui8NrOfElements
Definition: CAPT_Type.h:620
tTrackPadSensorParams::bGestureEnable
bool bGestureEnable
Definition: CAPT_Type.h:1226
tEMCConfig::ui8NoiseLevelFilterExitThresh
uint8_t ui8NoiseLevelFilterExitThresh
Definition: CAPT_Type.h:1329
tSensor::ui16ConversionCount
uint16_t ui16ConversionCount
Definition: CAPT_Type.h:690
eMultiFrequency
Definition: CAPT_Type.h:183
eProxStatus
Prox status flag.
Definition: CAPT_Type.h:279
tCaptivateElementTuning::ui8CoarseGainRatio
uint8_t ui8CoarseGainRatio
Coarse Gain Ratio (3 Bit Selection)
Definition: CAPT_Type.h:436
tElement::ui16NoiseCount
uint16_t ui16NoiseCount
The noise spread observed during a multi-frequency conversion.
Definition: CAPT_Type.h:592
tSliderSensorParams
Definition: CAPT_Type.h:973
eTrackpad
Definition: CAPT_Type.h:60
tCycle
Definition: CAPT_Type.h:606
tTrackPadSensorParams::ui16SwipeTime_Max
uint16_t ui16SwipeTime_Max
Definition: CAPT_Type.h:1150
tSensor::ProxDbThreshold
tDeBounceSettings ProxDbThreshold
Definition: CAPT_Type.h:727
tDeBounceSettings
typedef tDeBounceSettings
Definition: CAPT_Type.h:400
tTrackPadSensorParams::pMatrix
tElement ** pMatrix
pMatrix is a pointer to the element matrix containing address&#39; for each element
Definition: CAPT_Type.h:1057
tElement::LTA
IQ16_t LTA
Definition: CAPT_Type.h:467
eBISTStatus
BIST status flag.
Definition: CAPT_Type.h:294
eStandard
One sample is perfomed at the base (default) conversion frequency.
Definition: CAPT_Type.h:177
tTrackPadSensorParams::ui16PrevRaw_X
uint16_t ui16PrevRaw_X
Prev Raw Position (needed for mav filter..can still remove)
Definition: CAPT_Type.h:1073
tTrackPadSensorParams
typedef tTrackPadSensorParams
Definition: CAPT_Type.h:1033
tCaptivateApplication::ui8WakeupInterval
uint8_t ui8WakeupInterval
Definition: CAPT_Type.h:1449
tRawConversionStyle
uint8_t tRawConversionStyle
Definition: CAPT_Type.h:213
tCaptivateApplication::pSensorList
tSensor ** pSensorList
Definition: CAPT_Type.h:1419
IQ31_t
int32_t IQ31_t
typedef IQ31_t
Definition: CAPT_Type.h:381
tTrackPadSensorParams::ui16LowerTrim_X
uint16_t ui16LowerTrim_X
Definition: CAPT_Type.h:1112
eUIWakeOnProx
eUIWakeOnProx indicates that the UI is the autonomous state
Definition: CAPT_Type.h:1400
eSelf
Definition: CAPT_Type.h:87
eDynamic
Definition: CAPT_Type.h:318
tEMCConfig::ui16CalibrationNoiseLimit
uint16_t ui16CalibrationNoiseLimit
Definition: CAPT_Type.h:1298
tElementStatusType
uint8_t tElementStatusType
Definition: CAPT_Type.h:301
tSensor::ui16NegativeTouchThreshold
uint16_t ui16NegativeTouchThreshold
Definition: CAPT_Type.h:709
tXYAlgorithm
tXYAlgorithm
Definition: CAPT_Type.h:335
tSensor::ui16ConversionGain
uint16_t ui16ConversionGain
Definition: CAPT_Type.h:681
tGenericSensorParams
Definition: CAPT_Type.h:633
eNrOfConversionStyles
Indicates the number of available conversion styles.
Definition: CAPT_Type.h:211
tSliderSensorParams::SliderLower
uint16_t SliderLower
Lower slider trim/stretch point (not applicable to wheels)
Definition: CAPT_Type.h:988
tCaptivateElementTuning::ui8FineGainRatio
uint8_t ui8FineGainRatio
Fine Gain Ratio (5 Bit Selection)
Definition: CAPT_Type.h:441
eSlider
Definition: CAPT_Type.h:47
eDetectStatus
Detect status flag.
Definition: CAPT_Type.h:289
tCaptivateApplication::ui8NrOfSensors
uint8_t ui8NrOfSensors
ui8NrOfSensors defines the number of sensors in the application
Definition: CAPT_Type.h:1454
tTrackPadSensorParams::ui16TapTime_Min
uint16_t ui16TapTime_Min
Definition: CAPT_Type.h:1132
tTrackPadSensorParams::ui16Raw_Y
uint16_t ui16Raw_Y
Definition: CAPT_Type.h:1068
eWheel
Definition: CAPT_Type.h:54
tButtonSensorParams
Definition: CAPT_Type.h:935
e2xOversampling
2x oversampling is enabled
Definition: CAPT_Type.h:233
tSliderSensorParams::SliderUpper
uint16_t SliderUpper
Upper slider trim/stretch point (not applicable to wheels)
Definition: CAPT_Type.h:993
tEMCConfig::coeffB
IQ31_t coeffB
Definition: CAPT_Type.h:1290
tTrackPadSensorParams::ui16SwipeDistance_Min
uint16_t ui16SwipeDistance_Min
Definition: CAPT_Type.h:1177

© Copyright 1995-2018, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale