lis3dh_params_t Struct Reference

Configuration parameters for LIS3DH devices. More...

Detailed Description

Configuration parameters for LIS3DH devices.

Definition at line 725 of file lis3dh.h.

#include <lis3dh.h>

Data Fields

spi_t spi
 SPI device the sensor is connected to.
 
spi_clk_t clk
 designated clock speed of the SPI bus
 
gpio_t cs
 Chip select pin.
 
gpio_t int1
 INT1 pin.
 
gpio_t int2
 INT2 (DRDY) pin.
 
uint8_t scale
 Default sensor scale: 2, 4, 8, or 16 (G)
 
uint8_t odr
 Default sensor ODR setting: LIS3DH_ODR_xxxHz.
 

The documentation for this struct was generated from the following file: