Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
L3gd20_Spi Struct Reference

#include <l3gd20_spi.h>

+ Collaboration diagram for L3gd20_Spi:

Data Fields

struct spi_periphspi_p
 
struct spi_transaction spi_trans
 
volatile uint8_t tx_buf [2]
 
volatile uint8_t rx_buf [8]
 
enum L3gd20ConfStatus init_status
 init status More...
 
bool_t initialized
 config done flag More...
 
volatile bool_t data_available
 data ready flag More...
 
union {
   struct Int16Rates   rates
 data vector in accel coordinate system More...
 
   int16_t   value [3]
 data values accessible by channel index More...
 
data_rates
 
struct L3gd20Config config
 

Detailed Description

Definition at line 38 of file l3gd20_spi.h.

Field Documentation

struct L3gd20Config L3gd20_Spi::config

Definition at line 50 of file l3gd20_spi.h.

Referenced by l3gd20_spi_init(), and l3gd20_spi_send_config().

volatile bool_t L3gd20_Spi::data_available

data ready flag

Definition at line 45 of file l3gd20_spi.h.

Referenced by l3gd20_spi_event(), and l3gd20_spi_init().

union { ... } L3gd20_Spi::data_rates

Referenced by l3gd20_spi_event().

enum L3gd20ConfStatus L3gd20_Spi::init_status

init status

Definition at line 43 of file l3gd20_spi.h.

Referenced by l3gd20_spi_event(), l3gd20_spi_init(), l3gd20_spi_send_config(), and l3gd20_spi_start_configure().

bool_t L3gd20_Spi::initialized

config done flag

Definition at line 44 of file l3gd20_spi.h.

Referenced by l3gd20_spi_event(), l3gd20_spi_init(), l3gd20_spi_periodic(), l3gd20_spi_read(), and l3gd20_spi_send_config().

struct Int16Rates L3gd20_Spi::rates

data vector in accel coordinate system

Definition at line 47 of file l3gd20_spi.h.

Referenced by l3gd20_spi_event().

volatile uint8_t L3gd20_Spi::rx_buf[8]

Definition at line 42 of file l3gd20_spi.h.

Referenced by l3gd20_spi_event(), and l3gd20_spi_init().

struct spi_periph* L3gd20_Spi::spi_p
volatile uint8_t L3gd20_Spi::tx_buf[2]
int16_t L3gd20_Spi::value[3]

data values accessible by channel index

Definition at line 48 of file l3gd20_spi.h.


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