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
Lsm303dlhc Struct Reference

#include <lsm303dlhc.h>

+ Collaboration diagram for Lsm303dlhc:

Data Fields

struct i2c_periphi2c_p
 
struct i2c_transaction i2c_trans
 
bool_t initialized
 config done flag More...
 
union {
   enum Lsm303dlhcAccConfStatus   acc
 init status More...
 
   enum Lsm303dlhcMagConfStatus   mag
 init status More...
 
init_status
 
volatile bool_t data_available
 data ready flag More...
 
union {
   struct Int16Vect3   vect
 data vector in acc coordinate system More...
 
   int16_t   value [3]
 data values accessible by channel index More...
 
data
 
union {
   struct Lsm303dlhcAccConfig   acc
 
   struct Lsm303dlhcMagConfig   mag
 
config
 

Detailed Description

Definition at line 70 of file lsm303dlhc.h.

Field Documentation

enum Lsm303dlhcAccConfStatus Lsm303dlhc::acc

init status

Definition at line 75 of file lsm303dlhc.h.

Referenced by lsm303dlhc_event(), lsm303dlhc_init(), lsm303dlhc_send_config(), and lsm303dlhc_start_configure().

struct Lsm303dlhcAccConfig Lsm303dlhc::acc

Definition at line 84 of file lsm303dlhc.h.

union { ... } Lsm303dlhc::config
union { ... } Lsm303dlhc::data

Referenced by lsm303dlhc_event().

volatile bool_t Lsm303dlhc::data_available

data ready flag

Definition at line 78 of file lsm303dlhc.h.

Referenced by lsm303dlhc_event().

struct i2c_periph* Lsm303dlhc::i2c_p

Definition at line 71 of file lsm303dlhc.h.

Referenced by lsm303dlhc_i2c_tx_reg(), lsm303dlhc_init(), and lsm303dlhc_read().

union { ... } Lsm303dlhc::init_status
bool_t Lsm303dlhc::initialized

config done flag

Definition at line 73 of file lsm303dlhc.h.

Referenced by lsm303dlhc_event(), lsm303dlhc_init(), lsm303dlhc_periodic(), lsm303dlhc_read(), and lsm303dlhc_send_config().

enum Lsm303dlhcMagConfStatus Lsm303dlhc::mag

init status

Definition at line 76 of file lsm303dlhc.h.

Referenced by lsm303dlhc_event(), lsm303dlhc_init(), lsm303dlhc_send_config(), and lsm303dlhc_start_configure().

struct Lsm303dlhcMagConfig Lsm303dlhc::mag

Definition at line 85 of file lsm303dlhc.h.

int16_t Lsm303dlhc::value[3]

data values accessible by channel index

Definition at line 81 of file lsm303dlhc.h.

struct Int16Vect3 Lsm303dlhc::vect

data vector in acc coordinate system

Definition at line 80 of file lsm303dlhc.h.

Referenced by lsm303dlhc_event().


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