![]() |
no-OS
|
ADXL367 Device structure. More...
#include <adxl367.h>
Public Attributes | |
| enum adxl367_id | id |
| enum adxl367_comm_type | comm_type |
| struct no_os_spi_desc * | spi_desc |
| struct no_os_i2c_desc * | i2c_desc |
| uint8_t | i2c_slave_address |
| enum adxl367_range | range |
| enum adxl367_op_mode | op_mode |
| enum adxl367_odr | odr |
| enum adxl367_fifo_mode | fifo_mode |
| enum adxl367_fifo_format | fifo_format |
| enum adxl367_fifo_read_mode | fifo_read_mode |
| uint8_t | fifo_buffer [1027] |
| uint16_t | x_offset |
| uint16_t | y_offset |
| uint16_t | z_offset |
ADXL367 Device structure.
| enum adxl367_comm_type adxl367_dev::comm_type |
Communication type - I2C or SPI.
| uint8_t adxl367_dev::fifo_buffer[1027] |
FIFO Buffer 513 * 2 + 1 cmd byte
| enum adxl367_fifo_format adxl367_dev::fifo_format |
| enum adxl367_fifo_mode adxl367_dev::fifo_mode |
| enum adxl367_fifo_read_mode adxl367_dev::fifo_read_mode |
| struct no_os_i2c_desc* adxl367_dev::i2c_desc |
I2C Descriptor
| uint8_t adxl367_dev::i2c_slave_address |
Depending on ASEL pin, can be 0x53 or 0x1D. Only for I2C Comm.
| enum adxl367_id adxl367_dev::id |
Compatible device specifier.
| enum adxl367_odr adxl367_dev::odr |
| enum adxl367_op_mode adxl367_dev::op_mode |
| enum adxl367_range adxl367_dev::range |
Measurement Range:
| struct no_os_spi_desc* adxl367_dev::spi_desc |
SPI Descriptor
| uint16_t adxl367_dev::x_offset |
| uint16_t adxl367_dev::y_offset |
| uint16_t adxl367_dev::z_offset |