38 #include "bmpx8x_defs.h" 60 BMPX8X_OSS_T oversampling;
215 uint8_t *buffer,
int len);
226 uint8_t reg, uint8_t val);
bmpx8x_context bmpx8x_init(int bus, int addr)
Definition: bmpx8x.c:77
upm_result_t bmpx8x_reset(const bmpx8x_context dev)
Definition: bmpx8x.c:168
uint8_t bmpx8x_read_reg(const bmpx8x_context dev, uint8_t reg)
Definition: bmpx8x.c:329
upm_result_t bmpx8x_update(const bmpx8x_context dev)
Definition: bmpx8x.c:188
float bmpx8x_get_temperature(const bmpx8x_context dev)
Definition: bmpx8x.c:302
int bmpx8x_read_regs(const bmpx8x_context dev, uint8_t reg, uint8_t *buffer, int len)
Definition: bmpx8x.c:336
int bmpx8x_get_sealevel_pressure(const bmpx8x_context dev, float altitude)
Definition: bmpx8x.c:309
upm_result_t bmpx8x_devinit(const bmpx8x_context dev, BMPX8X_OSS_T oss)
Definition: bmpx8x.c:143
int bmpx8x_get_pressure(const bmpx8x_context dev)
Definition: bmpx8x.c:295
upm_result_t bmpx8x_write_reg(const bmpx8x_context dev, uint8_t reg, uint8_t val)
Definition: bmpx8x.c:347
void bmpx8x_close(bmpx8x_context dev)
Definition: bmpx8x.c:133
float bmpx8x_get_altitude(const bmpx8x_context dev, int sealevel)
Definition: bmpx8x.c:317
void bmpx8x_set_oversampling(const bmpx8x_context dev, BMPX8X_OSS_T oss)
Definition: bmpx8x.c:180
uint8_t bmpx8x_get_chip_id(const bmpx8x_context dev)
Definition: bmpx8x.c:161
struct _bmpx8x_context * bmpx8x_context