API Documentation  3.02.02.00
sensor_tmp006.h
1 /******************************************************************************
2 
3  @file sensor_tmp006.h
4 
5  @brief Interface to the IR temperature sensor driver
6 
7  Group: WCS, LPC, BTS
8  $Target Device: DEVICES $
9 
10  ******************************************************************************
11  $License: BSD3 2012 $
12  ******************************************************************************
13  $Release Name: PACKAGE NAME $
14  $Release Date: PACKAGE RELEASE DATE $
15  *****************************************************************************/
16 
17 #ifndef SENSOR_TMP006_H
18 #define SENSOR_TMP006_H
19 
20 #ifdef __cplusplus
21 extern "C"
22 {
23 #endif
24 
25 /*********************************************************************
26  * INCLUDES
27  */
28 #include "stdint.h"
29 //#include "st_util.h"
30 
31 /*********************************************************************
32  * CONSTANTS
33  */
34 
35 
36 /*********************************************************************
37  * TYPEDEFS
38  */
39 
40 /*********************************************************************
41  * FUNCTIONS
42  */
43 void sensorTmp006Init(void);
44 void sensorTmp006Enable(bool enable);
45 bool sensorTmp006Read(uint16_t *rawVolt, uint16_t *rawTemp);
46 void sensorTmp006Convert(uint16_t rawVolt, uint16_t rawTemp, float *tObj, float *tTgt);
47 bool sensorTmp006Test(void);
48 
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* SENSOR_TMP006_H */