PebbleOS
Loading...
Searching...
No Matches
Data Structures | Macros
lis2dw12.h File Reference
#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  LIS2DW12State
 LIS2DW12 driver state, owned by the driver. More...
 
struct  LIS2DW12Config
 LIS2DW12 board configuration. More...
 

Macros

#define LIS2DW12_FIFO_SIZE   32
 FIFO depth in samples.
 
#define LIS2DW12_SAMPLE_SIZE_BYTES   6
 Sample size in bytes (X, Y, Z, 16 bits each).