Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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)

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 )
Value:
{ 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 )
extern

Definition at line 51 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 )
extern

Definition at line 63 of file baro_mpl3115.c.

References baro_mpl, BARO_MPL3115_SENDER_ID, get_sys_time_usec(), mpl3115_event(), Mpl3115::pressure, and TEMPERATURE_TYPE_BARO.

Here is the call graph for this function:

◆ baro_mpl3115_read_periodic()

void baro_mpl3115_read_periodic ( void )
extern

Definition at line 57 of file baro_mpl3115.c.

References baro_mpl, and mpl3115_periodic().

Here is the call graph for this function: