bool self_test
Enable self-test-force causing shift in output data.
bool drdy_int_enable
Enable Data Ready Interrupt.
bool full_res
Full Resolution: FALSE: 10bit, TRUE: full with 4mg/LSB.
enum Adxl345Rates rate
Data Output Rate.
static void adxl345_set_default_config(struct Adxl345Config *c)
enum Adxl345Ranges range
g Range
bool int_invert
Invert Interrupt FALSE: active high, TRUE: active low.
bool spi_3_wire
Set 3-wire SPI mode, if FALSE: 4-wire SPI mode.
static uint8_t adxl345_data_format(struct Adxl345Config *c)
bool 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.
Adxl345Ranges
Selectable range in ADXL345_REG_DATA_FORMAT.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.