|
PebbleOS v4.47.0-512-g5285d4236
|
#include <stdint.h>#include <pbl/drivers/accel.h>#include <pbl/drivers/gpio.h>#include <pbl/drivers/i2c.h>#include <pbl/drivers/intc.h>#include <pbl/kernel/cache.h>#include <pbl/kernel/compiler.h>#include <pbl/kernel/work.h>Data Structures | |
| struct | pbl_lsm6dso_state |
| LSM6DSO driver state, owned by the driver. More... | |
| struct | pbl_lsm6dso |
| LSM6DSO accelerometer. More... | |
Macros | |
| #define | LSM6DSO_SAMPLE_SIZE_BYTES 6 |
| Accelerometer sample size in bytes (X, Y, Z, 16 bits each). | |
| #define | LSM6DSO_FIFO_WORD_SIZE_BYTES 7 |
| FIFO word size in bytes as read from FIFO_DATA_OUT (tag byte plus sample). | |
| #define | LSM6DSO_FIFO_THRESHOLD 128 |
| FIFO watermark in samples (the FIFO holds up to 512). | |
| #define | LSM6DSO_FIFO_SIZE LSM6DSO_FIFO_THRESHOLD |
| Read buffer capacity in samples, sized to the watermark. | |
| #define | PBL_LSM6DSO_DEFINE(sym, _bus, _addr, ...) |
| Define an LSM6DSO. | |