Contiki-Inga 3.x
Functions
bmp085.h File Reference

    Bosch BMP085 Digital Pressure Sensor driver definition
More...

#include "../dev/i2c.h"
#include <util/delay.h>

Go to the source code of this file.

Macros

Operation modes
#define BMP085_ULTRA_LOW_POWER   0
 Ultra low power mode.
 
#define BMP085_STANDARD   1
 Standard mode.
 
#define BMP085_HIGH_RESOLUTION   2
 High resolution mode.
 
#define BMP085_ULTRA_HIGH_RES   3
 Ultra high resolution mode.
 

Functions

int8_t bmp085_available (void)
 Tests if BMP085 is available. More...
 
int8_t bmp085_init (void)
 Initializes the BMP085 Pressure Sensor. More...
 
int8_t bmp085_deinit (void)
 Deinitializes the sensor. More...
 
int16_t bmp085_read_temperature (void)
 This function reads and returns the calibration compensated temerature. More...
 
int32_t bmp085_read_pressure (uint8_t mode)
 This functions reads the temperature compensated value of one pressure conversion. More...
 

Detailed Description

    Bosch BMP085 Digital Pressure Sensor driver definition
Author
Ulf Kulau kulau.nosp@m.@ibr.nosp@m..cs.t.nosp@m.u-bs.nosp@m..de

Definition in file bmp085.h.