Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ BaroMpl3115Update

#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

◆ baro_mpl3115_init()

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:

◆ baro_mpl3115_read_event()

void baro_mpl3115_read_event ( void  )

◆ baro_mpl3115_read_periodic()

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: