33 #include <mraa/gpio.h> 35 #include "ms5803_defs.h" 56 mraa_gpio_context gpio;
62 uint16_t C[MS5803_MAX_COEFFICIENTS];
66 MS5803_CMD_T temperatureCmd;
67 MS5803_OSR_T temperatureDelay;
69 MS5803_CMD_T pressureCmd;
70 MS5803_OSR_T pressureDelay;
90 ms5803_context ms5803_init(
unsigned int bus,
int address,
int cs_pin);
185 upm_result_t ms5803_bus_read(
const ms5803_context dev, uint8_t cmd,
186 uint8_t *data, uint8_t len);
200 upm_result_t ms5803_bus_write(
const ms5803_context dev, uint8_t cmd,
201 uint8_t *data, uint8_t len);