Adxl345Ranges
Selectable range in ADXL345_REG_DATA_FORMAT.
static uint8_t adxl345_data_format(struct Adxl345Config *c)
bool spi_3_wire
Set 3-wire SPI mode, if FALSE: 4-wire SPI mode.
bool self_test
Enable self-test-force causing shift in output data.
bool justify_msb
justify: FALSE: right with sign-extension, TRUE: MSB (left)
bool drdy_int_enable
Enable Data Ready Interrupt.
enum Adxl345Rates rate
Data Output Rate.
Register and address definitions for ADXL345 accelerometer.
bool full_res
Full Resolution: FALSE: 10bit, TRUE: full with 4mg/LSB.
Adxl345Rates
Selectable data rates in ADXL345_REG_BW_RATE bandwith is always half of data rate.
static void adxl345_set_default_config(struct Adxl345Config *c)
bool int_invert
Invert Interrupt FALSE: active high, TRUE: active low.
enum Adxl345Ranges range
g Range