Configuration parameters for LIS3DH devices.
More...
Configuration parameters for LIS3DH devices.
Definition at line 728 of file lis3dh.h.
#include <lis3dh.h>
|
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.
|
|
◆ clk
designated clock speed of the SPI bus
Definition at line 730 of file lis3dh.h.
◆ cs
gpio_t lis3dh_params_t::cs |
Chip select pin.
Definition at line 731 of file lis3dh.h.
◆ int1
gpio_t lis3dh_params_t::int1 |
◆ int2
gpio_t lis3dh_params_t::int2 |
INT2 (DRDY) pin.
Definition at line 733 of file lis3dh.h.
◆ odr
uint8_t lis3dh_params_t::odr |
Default sensor ODR setting: LIS3DH_ODR_xxxHz.
Definition at line 735 of file lis3dh.h.
◆ scale
uint8_t lis3dh_params_t::scale |
Default sensor scale: 2, 4, 8, or 16 (G)
Definition at line 734 of file lis3dh.h.
◆ spi
spi_t lis3dh_params_t::spi |
SPI device the sensor is connected to.
Definition at line 729 of file lis3dh.h.
The documentation for this struct was generated from the following file: