LibDriver BMP384
Loading...
Searching...
No Matches
driver_bmp384_shot.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_BMP384_SHOT_H
38#define DRIVER_BMP384_SHOT_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
50
54#define BMP384_SHOT_DEFAULT_SPI_WIRE BMP384_SPI_WIRE_4
55#define BMP384_SHOT_DEFAULT_IIC_WATCHDOG_TIMER BMP384_BOOL_TRUE
56#define BMP384_SHOT_DEFAULT_IIC_WATCHDOG_PERIOD BMP384_IIC_WATCHDOG_PERIOD_40_MS
57#define BMP384_SHOT_DEFAULT_PRESSURE BMP384_BOOL_TRUE
58#define BMP384_SHOT_DEFAULT_TEMPERATURE BMP384_BOOL_TRUE
59#define BMP384_SHOT_DEFAULT_PRESSURE_OVERSAMPLING BMP384_OVERSAMPLING_x32
60#define BMP384_SHOT_DEFAULT_TEMPERATURE_OVERSAMPLING BMP384_OVERSAMPLING_x2
61#define BMP384_SHOT_DEFAULT_ODR BMP384_ODR_12P5_HZ
62#define BMP384_SHOT_DEFAULT_FILTER_COEFFICIENT BMP384_FILTER_COEFFICIENT_15
63
73uint8_t bmp384_shot_init(bmp384_interface_t interface, bmp384_address_t addr_pin);
74
82uint8_t bmp384_shot_deinit(void);
83
93uint8_t bmp384_shot_read(float *temperature_c, float *pressure_pa);
94
98
99#ifdef __cplusplus
100}
101#endif
102
103#endif
driver bmp384 interface header file
bmp384_interface_t
bmp384 interface enumeration definition
bmp384_address_t
bmp384 address enumeration definition
uint8_t bmp384_shot_deinit(void)
shot example deinit
uint8_t bmp384_shot_read(float *temperature_c, float *pressure_pa)
shot example read
uint8_t bmp384_shot_init(bmp384_interface_t interface, bmp384_address_t addr_pin)
shot example init