LNSC-2420-Firmware/src/bmp280.h

19 lines
332 B
C

#ifndef BMP280_H
#define BMP280_H
#include <stdbool.h>
#include <stdint.h>
#include <fxp.h>
bool bmp280_init(void);
bool bmp280_start_measurement(void);
bool bmp280_is_measurement_complete(void);
bool bmp280_readout_and_compensate(void);
fxp_t bmp280_get_temperature(void);
fxp_t bmp280_get_pressure(void);
#endif // BMP280_H