1 #ifndef RUUVI_INTERFACE_SPI_BME280_H
2 #define RUUVI_INTERFACE_SPI_BME280_H
47 uint8_t * p_reg_data, uint16_t len);
61 uint8_t * p_reg_data, uint16_t len);
int8_t ri_spi_bme280_write(uint8_t dev_id, uint8_t reg_addr, uint8_t *p_reg_data, uint16_t len)
SPI write function for BME280.
int8_t ri_spi_bme280_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *p_reg_data, uint16_t len)
SPI Read function for BME280.
Ruuvi error codes and error check function.