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