MSP430™CapTIvateSoftwareLibraryAPIGuide  1_70_00_03
CAPT_Slider.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // CAPT_Slider.h
3 //
5 //
9 //
12 //
13 //*****************************************************************************
14 //*****************************************************************************
15 //
18 //
19 //*****************************************************************************
20 
21 #ifndef CAPT_Sliders_H_
22 #define CAPT_Sliders_H_
23 
24 #include "CAPT_Touch.h"
25 
26 //*****************************************************************************
27 //
38 //
39 //*****************************************************************************
40 extern uint16_t CAPT_computeArcTanApprox(int32_t i32XComp, int32_t i32YComp);
41 
42 
43 //*****************************************************************************
44 //
53 //
54 //*****************************************************************************
55 extern uint16_t CAPT_computeSliderVectors(tSensor *pSlider);
56 
57 
58 //*****************************************************************************
59 //
71 //
72 //*****************************************************************************
73 extern uint16_t CAPT_computeWheelWrap(int16_t i16Position, uint16_t ui16MaxPosition);
74 
75 
76 //*****************************************************************************
77 //
88 //
89 //*****************************************************************************
90 extern void CAPT_processSlider(tSensor *pSlider);
91 
92 
93 //*****************************************************************************
94 //
96 //
98 //
102 //
103 //*****************************************************************************
104 extern uint16_t CAPT_getSensorPosition(tSensor *pSensor);
105 
106 #endif /* CAPT_Sliders_H_ */
107 //*****************************************************************************
108 //
111 //
112 //*****************************************************************************
uint16_t CAPT_computeWheelWrap(int16_t i16Position, uint16_t ui16MaxPosition)
uint16_t CAPT_getSensorPosition(tSensor *pSensor)
Get the position value for a slider or wheel sensor.
uint16_t CAPT_computeSliderVectors(tSensor *pSlider)
Definition: CAPT_Type.h:654
void CAPT_processSlider(tSensor *pSlider)
uint16_t CAPT_computeArcTanApprox(int32_t i32XComp, int32_t i32YComp)
© Copyright 1995-2018, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale