LibDriver BMP388
Loading...
Searching...
No Matches
driver_bmp388_shot.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_BMP388_SHOT_H
39#define DRIVER_BMP388_SHOT_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
51
55#define BMP388_SHOT_DEFAULT_SPI_WIRE BMP388_SPI_WIRE_4
56#define BMP388_SHOT_DEFAULT_IIC_WATCHDOG_TIMER BMP388_BOOL_TRUE
57#define BMP388_SHOT_DEFAULT_IIC_WATCHDOG_PERIOD BMP388_IIC_WATCHDOG_PERIOD_40_MS
58#define BMP388_SHOT_DEFAULT_PRESSURE BMP388_BOOL_TRUE
59#define BMP388_SHOT_DEFAULT_TEMPERATURE BMP388_BOOL_TRUE
60#define BMP388_SHOT_DEFAULT_PRESSURE_OVERSAMPLING BMP388_OVERSAMPLING_x32
61#define BMP388_SHOT_DEFAULT_TEMPERATURE_OVERSAMPLING BMP388_OVERSAMPLING_x2
62#define BMP388_SHOT_DEFAULT_ODR BMP388_ODR_12P5_HZ
63#define BMP388_SHOT_DEFAULT_FILTER_COEFFICIENT BMP388_FILTER_COEFFICIENT_15
64
74uint8_t bmp388_shot_init(bmp388_interface_t interface, bmp388_address_t addr_pin);
75
83uint8_t bmp388_shot_deinit(void);
84
94uint8_t bmp388_shot_read(float *temperature_c, float *pressure_pa);
95
99
100#ifdef __cplusplus
101}
102#endif
103
104#endif
driver bmp388 interface header file
bmp388_interface_t
bmp388 interface enumeration definition
bmp388_address_t
bmp388 address enumeration definition
uint8_t bmp388_shot_init(bmp388_interface_t interface, bmp388_address_t addr_pin)
shot example init
uint8_t bmp388_shot_read(float *temperature_c, float *pressure_pa)
shot example read
uint8_t bmp388_shot_deinit(void)
shot example deinit