Default configuration for LIS3MDL devices. More...
Default configuration for LIS3MDL devices.
Definition in file lis3mdl_params.h.
Go to the source code of this file.
Variables | |
static const lis3mdl_params_t | lis3mdl_params [] |
Allocate some memory to store the actual configuration. More... | |
static const saul_reg_info_t | lis3mdl_saul_info [] |
Additional meta information to keep in the SAUL registry. More... | |
Set default configuration parameters | |
#define | LIS3MDL_PARAM_I2C (I2C_DEV(0)) |
#define | LIS3MDL_PARAM_ADDR (0x1E) |
#define | LIS3MDL_PARAM_XYMODE (LIS3MDL_XY_MODE_HIGH) |
#define | LIS3MDL_PARAM_ZMODE (LIS3MDL_Z_MODE_HIGH) |
#define | LIS3MDL_PARAM_ODR (LIS3MDL_ODR_10Hz) |
#define | LIS3MDL_PARAM_SCALE (4) |
#define | LIS3MDL_PARAM_OPMODE (LIS3MDL_OP_CONT_CONV) |
#define | LIS3MDL_PARAMS |
#define | LIS3MDL_SAUL_INFO { .name = "lis3mdl" } |
#define LIS3MDL_PARAMS |
Definition at line 57 of file lis3mdl_params.h.
|
static |
Allocate some memory to store the actual configuration.
Definition at line 73 of file lis3mdl_params.h.
|
static |
Additional meta information to keep in the SAUL registry.
Definition at line 81 of file lis3mdl_params.h.