ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
ruuvi_interface_spi_bme280.c File Reference

Implementation for SPI operations. More...

#include "ruuvi_driver_enabled_modules.h"
#include <stdint.h>
#include <string.h>
#include "ruuvi_driver_error.h"
#include "ruuvi_driver_sensor.h"
#include "ruuvi_interface_gpio.h"
#include "ruuvi_interface_spi.h"
#include "ruuvi_interface_yield.h"

Go to the source code of this file.

Functions

int8_t ri_spi_bme280_write (uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len)
 SPI write function for BME280. More...
 
int8_t ri_spi_bme280_read (uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len)
 SPI Read function for BME280. More...
 

Detailed Description

Implementation for SPI operations.

Author
Otso Jousimaa otso@.nosp@m.ojou.nosp@m.sima..nosp@m.net
Date
2020-04-28

Definition in file ruuvi_interface_spi_bme280.c.