Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
mpl3115.c File Reference
#include "peripherals/mpl3115.h"
#include "std.h"
+ Include dependency graph for mpl3115.c:

Go to the source code of this file.

Functions

void mpl3115_init (struct Mpl3115 *mpl, struct i2c_periph *i2c_p, uint8_t addr)
 
static void mpl3115_send_config (struct Mpl3115 *mpl)
 
void mpl3115_configure (struct Mpl3115 *mpl)
 
void mpl3115_read (struct Mpl3115 *mpl)
 
void mpl3115_event (struct Mpl3115 *mpl)
 
void mpl3115_periodic (struct Mpl3115 *mpl)
 

Detailed Description

Driver for MPL3115A2 baro sensor.

Definition in file mpl3115.c.

Function Documentation

◆ mpl3115_configure()

void mpl3115_configure ( struct Mpl3115 mpl)

Definition at line 81 of file mpl3115.c.

References I2CTransDone, I2CTransSuccess, Mpl3115::init_status, mpl3115_send_config(), MPL_CONF_UNINIT, i2c_transaction::status, and Mpl3115::trans.

Referenced by mpl3115_periodic().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mpl3115_event()

◆ mpl3115_init()

◆ mpl3115_periodic()

void mpl3115_periodic ( struct Mpl3115 mpl)

Definition at line 153 of file mpl3115.c.

References Mpl3115::initialized, mpl3115_configure(), and mpl3115_read().

Referenced by baro_mpl3115_read_periodic(), and baro_periodic().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mpl3115_read()

void mpl3115_read ( struct Mpl3115 mpl)

◆ mpl3115_send_config()