PebbleOS
Loading...
Searching...
No Matches
Modules

Board configuration of inertial and magnetic sensor drivers. More...

Modules

 LIS2DW12
 ST LIS2DW12 accelerometer driver board configuration.
 
 LSM6DSO
 ST LSM6DSO accelerometer driver board configuration.
 
 MMC5603NJ
 MEMSIC MMC5603NJ magnetometer driver.
 

Detailed Description

Board configuration of inertial and magnetic sensor drivers.

Accelerometer drivers implement the accelerometer driver interface and the magnetometer driver implements Magnetometer. The headers here describe what a board provides to each of them: a configuration with bus, interrupt and axis mapping, and storage for the driver state.

static LSM6DSOState s_lsm6dso_state;
static const LSM6DSOConfig s_lsm6dso = {
.state = &s_lsm6dso_state,
.i2c = ...,
.int1 = ...,
.int1_in = ...,
.axis_map = {0, 1, 2},
.axis_dir = {1, 1, 1},
};
LSM6DSOState * state
Driver state.
Definition lsm6dso.h:95
LSM6DSO board configuration.
Definition lsm6dso.h:93
LSM6DSO driver state, owned by the driver.
Definition lsm6dso.h:56