LIS2DH12 configuration parameters. More...

Detailed Description

LIS2DH12 configuration parameters.

Definition at line 111 of file lis2dh12.h.

#include <lis2dh12.h>

Data Fields

spi_t spi
 SPI bus the device is connected to. More...
gpio_t cs
 connected chip select pin More...
gpio_t int1_pin
 first interrupt pin More...
gpio_t int2_pin
 second interrupt pin More...
lis2dh12_scale_t scale
 sampling sensitivity used More...
lis2dh12_rate_t rate
 sampling rate used More...
lis2dh12_resolution_t resolution
 resolution used More...

Field Documentation

◆ cs

gpio_t lis2dh12_params_t::cs

connected chip select pin

Definition at line 114 of file lis2dh12.h.

◆ int1_pin

gpio_t lis2dh12_params_t::int1_pin

first interrupt pin

Definition at line 120 of file lis2dh12.h.

◆ int2_pin

gpio_t lis2dh12_params_t::int2_pin

second interrupt pin

Definition at line 121 of file lis2dh12.h.

◆ rate

lis2dh12_rate_t lis2dh12_params_t::rate

sampling rate used

Definition at line 124 of file lis2dh12.h.

◆ resolution

lis2dh12_resolution_t lis2dh12_params_t::resolution

resolution used

Definition at line 125 of file lis2dh12.h.

◆ scale

lis2dh12_scale_t lis2dh12_params_t::scale

sampling sensitivity used

Definition at line 123 of file lis2dh12.h.

◆ spi

spi_t lis2dh12_params_t::spi

SPI bus the device is connected to.

Definition at line 113 of file lis2dh12.h.

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