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

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

#include <adxl367.h>

Collaboration diagram for adxl367_init_param:
Collaboration graph
[legend]

Public Attributes

enum adxl367_comm_type comm_type
 
struct no_os_spi_init_param spi_init
 
struct no_os_i2c_init_param i2c_init
 
uint8_t i2c_slave_address
 

Detailed Description

Structure holding the parameters for ADXL367 device initialization.

Member Data Documentation

◆ comm_type

enum adxl367_comm_type adxl367_init_param::comm_type

Communication type - I2C or SPI.

◆ i2c_init

struct no_os_i2c_init_param adxl367_init_param::i2c_init

I2C Initialization structure.

◆ i2c_slave_address

uint8_t adxl367_init_param::i2c_slave_address

Depending on ASEL pin, can be 0x53 or 0x1D. Only for I2C Comm.

◆ spi_init

struct no_os_spi_init_param adxl367_init_param::spi_init

SPI Initialization structure.


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