|
PebbleOS
|
#include <stdbool.h>#include <stdint.h>#include <pbl/drivers/accel.h>#include <pbl/drivers/rtc.h>#include <pbl/kernel/compiler.h>#include <pbl/mcu/cache.h>#include <pbl/services/regular_timer.h>Data Structures | |
| struct | LSM6DSOState |
| LSM6DSO driver state, owned by the driver. More... | |
| struct | LSM6DSOConfig |
| LSM6DSO board configuration. 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. | |