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

SPI read/write functions for Infineon DPS310. More...

#include <stdint.h>

Go to the source code of this file.

Functions

uint32_t ri_spi_dps310_write (const void *const comm_ctx, const uint8_t reg_addr, const uint8_t *const p_reg_data, const uint8_t data_len)
 SPI write function for DPS310. More...
 
uint32_t ri_spi_dps310_read (const void *const comm_ctx, const uint8_t reg_addr, uint8_t *const p_reg_data, const uint8_t data_len)
 SPI Read function for DPS310. More...
 

Detailed Description

SPI read/write functions for Infineon DPS310.

Author
Otso Jousimaa otso@.nosp@m.ojou.nosp@m.sima..nosp@m.net
Date
2020-12-31

You'll need to get the Ruuvi's DPS310, available at GitHub. The wrappers will use Ruuvi Interface internally, so you don't have to port these to use DPS310 on a new platform. You're required to port Yield and delay functions, GPIO functions and SPI functions.

Definition in file ruuvi_interface_spi_dps310.h.