Subversion Repositories EDIS_Ignition

Rev

Rev 20 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #pragma once
  2.  
  3. #include "libBMP280/bmp280.h"
  4.  
  5.  
  6. /// @brief device pointer
  7. extern struct bmp280_dev bmpManifold;
  8. // ambient pressure sensor
  9. extern struct bmp280_dev bmpAtmosphere;
  10.  
  11. /// @brief configuration for a single BMP280
  12. extern struct bmp280_config confManifold;
  13.  
  14. extern struct bmp280_config confAtmosphere;
  15.  
  16.  
  17. /// @brief Initialise the bmp sensor
  18. /// @param i2c Interface to use
  19. /// @param dev device handle to refer to
  20. /// @param conf configuration to use
  21. /// @return BMP280 return code
  22. uint8_t init_bmp( I2C_HandleTypeDef * i2c, struct bmp280_dev * dev,struct bmp280_config * conf);
  23.