API Documentation  3.02.02.00
sensor_bmp280.h
1 /******************************************************************************
2 
3  @file sensor_bmp280.h
4 
5  @brief Interface to the pressure sensor driver (Bosch BMP280)
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 #ifndef SENSOR_BMP280_H
17 #define SENSOR_BMP280_H
18 
19 #ifdef __cplusplus
20 extern "C"
21 {
22 #endif
23 
24 /*********************************************************************
25  * INCLUDES
26  */
27 #include "stdint.h"
28 #include "stdbool.h"
29 
30 /*********************************************************************
31  * CONSTANTS
32  */
33 
34 /*********************************************************************
35  * TYPEDEFS
36  */
37 
38 /*********************************************************************
39  * FUNCTIONS
40  */
41 void sensorBmp280Init(void);
42 void sensorBmp280Enable(bool enable);
43 bool sensorBmp280Read(uint8_t *pBuf);
44 void sensorBmp280Convert(uint8_t *raw, int32_t *temp, uint32_t *press);
45 bool sensorBmp280Test(void);
46 
47 /*********************************************************************
48 *********************************************************************/
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* SENSOR_BMP280_H */