56#ifndef BMP_280_SENSOR_H_
57#define BMP_280_SENSOR_H_
60#include "lib/sensors.h"
65#if BOARD_SENSORS_ENABLE
66#if (TI_I2C_CONF_ENABLE == 0) || (TI_I2C_CONF_I2C0_ENABLE == 0)
67#error "The BMP280 requires the I2C driver (TI_I2C_CONF_ENABLE = 1)"
72 BMP_280_SENSOR_TYPE_TEMP,
73 BMP_280_SENSOR_TYPE_PRESS
76#define BMP_280_READING_ERROR -1
const struct sensors_sensor bmp_280_sensor
Exports a global symbol to be used by the sensor API.
Header file with definitions related to SmartRF06 EB boards.