Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Adxl345_Spi Struct Reference

#include <adxl345_spi.h>

+ Collaboration diagram for Adxl345_Spi:

Data Fields

struct spi_periphspi_p
 
struct spi_transaction spi_trans
 
volatile uint8_t tx_buf [7]
 
volatile uint8_t rx_buf [7]
 
enum Adxl345ConfStatus init_status
 init status More...
 
bool_t initialized
 config done flag More...
 
volatile bool_t data_available
 data ready flag More...
 
union {
   struct Int16Vect3   vect
 data vector in accel coordinate system More...
 
   int16_t   value [3]
 data values accessible by channel index More...
 
data
 
struct Adxl345Config config
 

Detailed Description

Definition at line 39 of file adxl345_spi.h.

Field Documentation

struct Adxl345Config Adxl345_Spi::config

Definition at line 51 of file adxl345_spi.h.

Referenced by adxl345_spi_init(), adxl345_spi_send_config(), and imu_impl_init().

union { ... } Adxl345_Spi::data
volatile bool_t Adxl345_Spi::data_available

data ready flag

Definition at line 46 of file adxl345_spi.h.

Referenced by adxl345_spi_event(), adxl345_spi_init(), and imu_aspirin_event().

enum Adxl345ConfStatus Adxl345_Spi::init_status
bool_t Adxl345_Spi::initialized
volatile uint8_t Adxl345_Spi::rx_buf[7]

Definition at line 43 of file adxl345_spi.h.

Referenced by adxl345_spi_event(), and adxl345_spi_init().

struct spi_periph* Adxl345_Spi::spi_p

Definition at line 40 of file adxl345_spi.h.

Referenced by adxl345_spi_init(), adxl345_spi_read(), and adxl345_spi_write_to_reg().

volatile uint8_t Adxl345_Spi::tx_buf[7]

Definition at line 42 of file adxl345_spi.h.

Referenced by adxl345_spi_init(), adxl345_spi_read(), and adxl345_spi_write_to_reg().

int16_t Adxl345_Spi::value[3]

data values accessible by channel index

Definition at line 49 of file adxl345_spi.h.

struct Int16Vect3 Adxl345_Spi::vect

data vector in accel coordinate system

Definition at line 48 of file adxl345_spi.h.

Referenced by adxl345_spi_event(), and imu_aspirin_event().


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