MSP430™CapTIvateSoftwareLibraryAPIGuide  1_70_00_03
CAPT_Calibration.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // CAPT_Calibration.h
3 //
5 //
8 //
9 //*****************************************************************************
10 //*****************************************************************************
13 //*****************************************************************************
14 #ifndef __CAPT_CALIBRATION__
15 #define __CAPT_CALIBRATION__
16 
17 #include "CAPT_HAL.h"
18 
19 //*****************************************************************************
20 //
21 // CAPT_CAL_ALG may be defined as one of the following options:
22 //
25 //
26 //*****************************************************************************
27 #define __CAPT_STD_CALIBRATION__ (0)
28 #define __CAPT_MAXOFFSET_CALIBRATION__ (1)
29 
30 
31 //*****************************************************************************
32 //
52 //
53 //*****************************************************************************
54 extern void CAPT_calibrateSensor(tSensor *pSensor);
55 
56 
57 //*****************************************************************************
58 //
79 //
80 //*****************************************************************************
81 extern void CAPT_calibrateSensorWithMaxOffset(tSensor *pSensor);
82 
83 
84 //*****************************************************************************
85 //
109 //
110 //*****************************************************************************
111 extern void CAPT_calibrateSensorWithEMC(tSensor *pSensor);
112 
113 
114 //*****************************************************************************
115 //
141 //
142 //*****************************************************************************
144 
145 
146 //*****************************************************************************
147 //
150 //
153 //
156 //
159 //
160 //*****************************************************************************
161 extern void CAPT_calibrateGain(tSensor *pSensor,
162  volatile bool *pbEndOfConversionFlag, uint8_t ui8Frequency);
163 
164 
165 //*****************************************************************************
166 //
171 //
174 //
175 //*****************************************************************************
176 extern void CAPT_calibrateOffset(tSensor *pSensor,
177  volatile bool *pbEndOfConversionFlag, uint8_t ui8Frequency);
178 
179 
180 //*****************************************************************************
181 //
190 //
193 //
194 //*****************************************************************************
195 void CAPT_calibrateForMaxOffset(tSensor *pSensor,
196  uint16_t ui16MaxOffsetStartPoint, volatile bool *pbEndOfConversionFlag,
197  uint8_t ui8Freq);
198 
199 
200 #endif
201 //*****************************************************************************
204 //*****************************************************************************
void CAPT_calibrateSensorWithEMC(tSensor *pSensor)
void CAPT_calibrateSensor(tSensor *pSensor)
Definition: CAPT_Type.h:654
void CAPT_calibrateOffset(tSensor *pSensor, volatile bool *pbEndOfConversionFlag, uint8_t ui8Frequency)
void CAPT_calibrateSensorWithMaxOffset(tSensor *pSensor)
void CAPT_calibrateForMaxOffset(tSensor *pSensor, uint16_t ui16MaxOffsetStartPoint, volatile bool *pbEndOfConversionFlag, uint8_t ui8Freq)
void CAPT_calibrateGain(tSensor *pSensor, volatile bool *pbEndOfConversionFlag, uint8_t ui8Frequency)
void CAPT_calibrateSensorWithMaxOffsetWithEMC(tSensor *pSensor)
© Copyright 1995-2018, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale