no-OS
|
Structure holding the parameters for ADXL345 device initialization. More...
#include <adxl345.h>
Public Attributes | |
struct no_os_i2c_init_param | i2c_init |
struct no_os_spi_init_param | spi_init |
enum adxl345_type | dev_type |
uint8_t | communication_type |
uint8_t | selected_range |
uint8_t | full_resolution_set |
Structure holding the parameters for ADXL345 device initialization.
uint8_t adxl345_init_param::communication_type |
Device Communication type: ADXL345_SPI_COMM, ADXL345_I2C_COMM
enum adxl345_type adxl345_init_param::dev_type |
Device type ADXL345 or 346
uint8_t adxl345_init_param::full_resolution_set |
Enable/Disable Full Resolution
struct no_os_i2c_init_param adxl345_init_param::i2c_init |
I2C Initialization structure.
uint8_t adxl345_init_param::selected_range |
Measurement range
struct no_os_spi_init_param adxl345_init_param::spi_init |
SPI Initialization structure.