Default configuration for LIS3DH devices. More...
Default configuration for LIS3DH devices.
Definition in file lis3dh_params.h.
Go to the source code of this file.
Variables | |
static const lis3dh_params_t | lis3dh_params [] |
Allocate some memory to store the actual configuration. More... | |
static const saul_reg_info_t | lis3dh_saul_info [] |
Additional meta information to keep in the SAUL registry. More... | |
Set default configuration parameters | |
#define | LIS3DH_PARAM_SPI (SPI_DEV(0)) |
#define | LIS3DH_PARAM_CS (GPIO_PIN(0, 0)) |
#define | LIS3DH_PARAM_CLK (SPI_CLK_5MHZ) |
#define | LIS3DH_PARAM_INT1 (GPIO_PIN(0, 1)) |
#define | LIS3DH_PARAM_INT2 (GPIO_PIN(0, 2)) |
#define | LIS3DH_PARAM_SCALE (4) |
#define | LIS3DH_PARAM_ODR (LIS3DH_ODR_100Hz) |
#define | LIS3DH_PARAMS |
#define | LIS3DH_SAUL_INFO { .name = "lis3dh" } |
#define LIS3DH_PARAMS |
Definition at line 57 of file lis3dh_params.h.
|
static |
Allocate some memory to store the actual configuration.
Definition at line 73 of file lis3dh_params.h.
|
static |
Additional meta information to keep in the SAUL registry.
Definition at line 81 of file lis3dh_params.h.