API Documentation  3.02.02.00
sensor_opt3001.h
1 /******************************************************************************
2 
3  @file sensor_opt3001.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 2014 $
12  ******************************************************************************
13  $Release Name: PACKAGE NAME $
14  $Release Date: PACKAGE RELEASE DATE $
15  *****************************************************************************/
16 
17 #ifndef SENSOR_OPT3001_H
18 #define SENSOR_OPT3001_H
19 
20 #ifdef __cplusplus
21 extern "C"
22 {
23 #endif
24 
25 /*********************************************************************
26  * INCLUDES
27  */
28 #include "stdint.h"
29 
30 /*********************************************************************
31  * CONSTANTS
32  */
33 
34 
35 /*********************************************************************
36  * TYPEDEFS
37  */
38 
39 /*********************************************************************
40  * FUNCTIONS
41  */
42 void sensorOpt3001Init(void);
43 void sensorOpt3001Enable(bool enable);
44 bool sensorOpt3001Read(uint16_t *rawData);
45 float sensorOpt3001Convert(uint16_t rawData);
46 bool sensorOpt3001Test(void);
47 
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* SENSOR_OPT3001_H */