ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
ruuvi_interface_spi_lis2dh12.h File Reference
#include "ruuvi_driver_error.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Functions

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)
 

Function Documentation

◆ ri_spi_lis2dh12_read()

int32_t ri_spi_lis2dh12_read ( void *  dev_ptr,
uint8_t  reg_addr,
uint8_t *  reg_data,
uint16_t  len 
)

◆ ri_spi_lis2dh12_write()

int32_t ri_spi_lis2dh12_write ( void *  dev_ptr,
uint8_t  reg_addr,
uint8_t *  reg_data,
uint16_t  len 
)

Ruuvi spi interface for lis2dh12

License: BSD-3 Author: Otso Jousimaa otso@.nosp@m.ojou.nosp@m.sima..nosp@m.net