8 #ifndef RUUVI_INTERFACE_SPI_LIS2DH12_H
9 #define RUUVI_INTERFACE_SPI_LIS2DH12_H
17 uint8_t * reg_data, uint16_t len);
19 uint8_t * reg_data, uint16_t len);
Ruuvi error codes and error check function.
int32_t ri_spi_lis2dh12_write(void *dev_ptr, uint8_t reg_addr, uint8_t *reg_data, uint16_t len)
int32_t ri_spi_lis2dh12_read(void *dev_ptr, uint8_t reg_addr, uint8_t *reg_data, uint16_t len)