Interface definition for the ADXL345. More...
Interface definition for the ADXL345.
Definition in file adxl345.h.
Include dependency graph for adxl345.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | adxl345_data_t |
| ADXL345 result vector struct. More... | |
| struct | adxl345_interrupt_t |
| Interrupt configuration struct for the ADXL345 sensor. More... | |
| struct | adxl345_params_t |
| Configuration struct for the ADXL345 sensor. More... | |
| struct | adxl345_t |
| Device descriptor for the ADXL345 sensor. More... | |
Functions | |
| int | adxl345_init (adxl345_t *dev, const adxl345_params_t *params) |
| Initialize the ADXL345 accelerometer driver. More... | |
| void | adxl345_read (const adxl345_t *dev, adxl345_data_t *data) |
| Read accelerometer's data. More... | |
| void | adxl345_set_interrupt (const adxl345_t *dev) |
| set ADXL345's interrupts configuration More... | |
| void | adxl345_set_measure (const adxl345_t *dev) |
| set ADXL345's measure mode More... | |
| void | adxl345_set_standby (const adxl345_t *dev) |
| Set standby mode. More... | |
| void | adxl345_set_sleep (const adxl345_t *dev) |
| Set sleep mode. More... | |
| void | adxl345_set_autosleep (const adxl345_t *dev) |
| Set autosleep mode. More... | |
| void | adxl345_set_bandwidth_rate (const adxl345_t *dev, uint8_t bw_rate) |
| Set bandwidth rate. More... | |
| void | adxl345_set_fifo_mode (const adxl345_t *dev, uint8_t mode, uint8_t output, uint8_t value) |
| Set fifo mode with its configuration. More... | |