LibDriver BMP280
Loading...
Searching...
No Matches
driver_bmp280_shot.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_BMP280_SHOT_H
38#define DRIVER_BMP280_SHOT_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
50
54#define BMP280_SHOT_DEFAULT_TEMPERATURE_OVERSAMPLING BMP280_OVERSAMPLING_x2
55#define BMP280_SHOT_DEFAULT_PRESSURE_OVERSAMPLING BMP280_OVERSAMPLING_x16
56#define BMP280_SHOT_DEFAULT_STANDBY_TIME BMP280_STANDBY_TIME_0P5_MS
57#define BMP280_SHOT_DEFAULT_FILTER BMP280_FILTER_COEFF_16
58#define BMP280_SHOT_DEFAULT_SPI_WIRE BMP280_SPI_WIRE_4
59
69uint8_t bmp280_shot_init(bmp280_interface_t interface, bmp280_address_t addr_pin);
70
78uint8_t bmp280_shot_deinit(void);
79
89uint8_t bmp280_shot_read(float *temperature, float *pressure);
90
94
95#ifdef __cplusplus
96}
97#endif
98
99#endif
driver bmp280 interface header file
bmp280_interface_t
bmp280 interface enumeration definition
bmp280_address_t
bmp280 address enumeration definition
uint8_t bmp280_shot_deinit(void)
shot example deinit
uint8_t bmp280_shot_read(float *temperature, float *pressure)
shot example read
uint8_t bmp280_shot_init(bmp280_interface_t interface, bmp280_address_t addr_pin)
shot example init