no-OS
Public Attributes | List of all members
adxl345_init_param Struct Reference

Structure holding the parameters for ADXL345 device initialization. More...

#include <adxl345.h>

Collaboration diagram for adxl345_init_param:
Collaboration graph
[legend]

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
 

Detailed Description

Structure holding the parameters for ADXL345 device initialization.

Member Data Documentation

◆ communication_type

uint8_t adxl345_init_param::communication_type

Device Communication type: ADXL345_SPI_COMM, ADXL345_I2C_COMM

◆ dev_type

enum adxl345_type adxl345_init_param::dev_type

Device type ADXL345 or 346

◆ full_resolution_set

uint8_t adxl345_init_param::full_resolution_set

Enable/Disable Full Resolution

◆ i2c_init

struct no_os_i2c_init_param adxl345_init_param::i2c_init

I2C Initialization structure.

◆ selected_range

uint8_t adxl345_init_param::selected_range

Measurement range

◆ spi_init

struct no_os_spi_init_param adxl345_init_param::spi_init

SPI Initialization structure.


The documentation for this struct was generated from the following file: