no-OS
|
ADXL345 Device structure. More...
#include <adxl345.h>
Public Attributes | |
struct no_os_i2c_desc * | i2c_desc |
struct no_os_spi_desc * | spi_desc |
enum adxl345_type | dev_type |
uint8_t | communication_type |
uint8_t | selected_range |
uint8_t | full_resolution_set |
ADXL345 Device structure.
uint8_t adxl345_dev::communication_type |
Device Communication type: ADXL345_SPI_COMM, ADXL345_I2C_COMM
enum adxl345_type adxl345_dev::dev_type |
Device type ADXL345 or 346
uint8_t adxl345_dev::full_resolution_set |
Enable/Disable Full Resolution
struct no_os_i2c_desc* adxl345_dev::i2c_desc |
I2C Descriptor
uint8_t adxl345_dev::selected_range |
Measurement range
struct no_os_spi_desc* adxl345_dev::spi_desc |
SPI Descriptor