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

#include <mpl3115.h>

+ Collaboration diagram for Mpl3115:

Data Fields

struct i2c_periphi2c_p
 
struct i2c_transaction trans
 I2C transaction for reading and configuring. More...
 
struct i2c_transaction req_trans
 I2C transaction for conversion request. More...
 
enum Mpl3115Status init_status
 
bool_t initialized
 config done flag More...
 
volatile bool_t data_available
 data ready flag More...
 
bool_t raw_mode
 set to TRUE to enable raw output More...
 
bool_t alt_mode
 set to TRUE to enable altitude output (otherwise pressure) More...
 
int16_t temperature
 temperature in 1/16 degrees Celcius More...
 
uint32_t pressure
 pressure in 1/4 Pascal More...
 
float altitude
 altitude in meters More...
 

Detailed Description

Definition at line 70 of file mpl3115.h.

Field Documentation

bool_t Mpl3115::alt_mode

set to TRUE to enable altitude output (otherwise pressure)

Definition at line 78 of file mpl3115.h.

Referenced by mpl3115_event(), mpl3115_init(), mpl3115_read(), and mpl3115_send_config().

float Mpl3115::altitude

altitude in meters

Definition at line 81 of file mpl3115.h.

Referenced by mpl3115_event(), and mpl3115_init().

volatile bool_t Mpl3115::data_available

data ready flag

Definition at line 76 of file mpl3115.h.

Referenced by apogee_baro_event(), baro_mpl3115_read_event(), baro_periodic(), and mpl3115_event().

struct i2c_periph* Mpl3115::i2c_p

Definition at line 71 of file mpl3115.h.

Referenced by mpl3115_init(), mpl3115_read(), and mpl3115_send_config().

enum Mpl3115Status Mpl3115::init_status

Definition at line 74 of file mpl3115.h.

Referenced by mpl3115_configure(), mpl3115_event(), mpl3115_init(), and mpl3115_send_config().

bool_t Mpl3115::initialized

config done flag

Definition at line 75 of file mpl3115.h.

Referenced by mpl3115_event(), mpl3115_init(), mpl3115_periodic(), mpl3115_read(), and mpl3115_send_config().

uint32_t Mpl3115::pressure

pressure in 1/4 Pascal

Definition at line 80 of file mpl3115.h.

Referenced by apogee_baro_event(), baro_mpl3115_read_event(), baro_MS5534A_event(), mpl3115_event(), and mpl3115_init().

bool_t Mpl3115::raw_mode

set to TRUE to enable raw output

Definition at line 77 of file mpl3115.h.

Referenced by mpl3115_event(), mpl3115_init(), mpl3115_read(), and mpl3115_send_config().

struct i2c_transaction Mpl3115::req_trans

I2C transaction for conversion request.

Definition at line 73 of file mpl3115.h.

Referenced by mpl3115_event(), mpl3115_init(), and mpl3115_read().

int16_t Mpl3115::temperature

temperature in 1/16 degrees Celcius

Definition at line 79 of file mpl3115.h.

Referenced by baro_mpl3115_read_event(), mpl3115_event(), and mpl3115_init().

struct i2c_transaction Mpl3115::trans

I2C transaction for reading and configuring.

Definition at line 72 of file mpl3115.h.

Referenced by mpl3115_configure(), mpl3115_event(), mpl3115_init(), mpl3115_read(), and mpl3115_send_config().


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