Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
baro_mpl3115.h File Reference

Module for the baro MPL3115A2 from Freescale (i2c) More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BaroMpl3115Update(_b, _h)   { if (mpl3115_data_available) { _b = mpl3115_pressure; _h(); mpl3115_data_available = false; } }
 

Functions

void baro_mpl3115_init (void)
 
void baro_mpl3115_read_periodic (void)
 
void baro_mpl3115_read_event (void)
 

Detailed Description

Module for the baro MPL3115A2 from Freescale (i2c)

Definition in file baro_mpl3115.h.

Macro Definition Documentation

#define BaroMpl3115Update (   _b,
  _h 
)    { if (mpl3115_data_available) { _b = mpl3115_pressure; _h(); mpl3115_data_available = false; } }

Definition at line 36 of file baro_mpl3115.h.

Function Documentation

void baro_mpl3115_init ( void  )

Definition at line 50 of file baro_mpl3115.c.

References baro_mpl, BARO_MPL3115_I2C_DEV, BARO_MPL3115_I2C_SLAVE_ADDR, and mpl3115_init().

+ Here is the call graph for this function:

void baro_mpl3115_read_event ( void  )

Definition at line 62 of file baro_mpl3115.c.

References baro_mpl, BARO_MPL3115_SENDER_ID, Mpl3115::data_available, DefaultChannel, DefaultDevice, mpl3115_event(), Mpl3115::pressure, and Mpl3115::temperature.

+ Here is the call graph for this function:

void baro_mpl3115_read_periodic ( void  )

Definition at line 56 of file baro_mpl3115.c.

References baro_mpl, and mpl3115_periodic().

+ Here is the call graph for this function: