no-OS
|
ADXL313 Device structure. More...
#include <adxl313.h>
Public Attributes | |
union adxl313_comm_desc | com_desc |
enum adxl313_comm_type | comm_type |
enum adxl313_type | dev_type |
enum adxl313_range | range |
enum adxl313_resolution | resolution |
enum adxl313_op_mode | op_mode |
enum adxl313_lp_mode | lp_mode |
enum adxl313_odr | odr |
uint8_t | x_offset_raw |
uint8_t | y_offset_raw |
uint8_t | z_offset_raw |
int64_t | scale_factor_mult |
enum adxl313_fifo_mode | fifo_mode |
uint8_t | fifo_samples |
uint8_t | act_thr |
uint8_t | inact_thr |
uint8_t | time_inact |
union adxl313_act_inact_ctl_flags | act_inact_ctl |
uint8_t | comm_buff [24] |
ADXL313 Device structure.
union adxl313_act_inact_ctl_flags adxl313_dev::act_inact_ctl |
The contents of the ACT_INACT_CTL register
uint8_t adxl313_dev::act_thr |
Threshold value for detecting activity, raw data
union adxl313_comm_desc adxl313_dev::com_desc |
Device communication descriptor
uint8_t adxl313_dev::comm_buff[24] |
Buffer used for communication with ADXL313
enum adxl313_comm_type adxl313_dev::comm_type |
Device Communication type: ADXL313_SPI_COMM, ADXL313_I2C_COMM
enum adxl313_type adxl313_dev::dev_type |
Device type
enum adxl313_fifo_mode adxl313_dev::fifo_mode |
ADXL313 FIFO mode selection
uint8_t adxl313_dev::fifo_samples |
Number of FISO samples before FIFO event signalling
uint8_t adxl313_dev::inact_thr |
Threshold value for detecting inactivity, raw data
enum adxl313_lp_mode adxl313_dev::lp_mode |
ADXL313 LOW POOWER operation mode (NONE, ON, or AUTOSLEEP)
enum adxl313_odr adxl313_dev::odr |
ADXL313 output data rate
enum adxl313_op_mode adxl313_dev::op_mode |
ADXL313 operation mode, STDBY or MEASURE
enum adxl313_range adxl313_dev::range |
ADXL313 measurement range
enum adxl313_resolution adxl313_dev::resolution |
ADXL313 resolution
int64_t adxl313_dev::scale_factor_mult |
Scale factor multiplier for data conversion to m/s^2
uint8_t adxl313_dev::time_inact |
Amount of time for inactivity to be declared
uint8_t adxl313_dev::x_offset_raw |
User-set offset adjustments on the X axis in twos complement format with a scale factor depending on device
uint8_t adxl313_dev::y_offset_raw |
User-set offset adjustments on the Y axis in twos complement format with a scale factor depending on device
uint8_t adxl313_dev::z_offset_raw |
User-set offset adjustments on the Z axis in twos complement format with a scale factor depending on device