Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
baro_mpl3115.c File Reference

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

#include "modules/sensors/baro_mpl3115.h"
#include "peripherals/mpl3115.h"
#include "modules/core/abi.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "modules/datalink/downlink.h"
+ Include dependency graph for baro_mpl3115.c:

Go to the source code of this file.

Macros

#define BARO_MPL3115_I2C_DEV   i2c0
 
#define BARO_MPL3115_I2C_SLAVE_ADDR   MPL3115_I2C_ADDR
 

Functions

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

Variables

struct Mpl3115 baro_mpl
 

Detailed Description

Module for the baro MPL3115A2 from Freescale (i2c)

Definition in file baro_mpl3115.c.

Macro Definition Documentation

◆ BARO_MPL3115_I2C_DEV

#define BARO_MPL3115_I2C_DEV   i2c0

Definition at line 40 of file baro_mpl3115.c.

◆ BARO_MPL3115_I2C_SLAVE_ADDR

#define BARO_MPL3115_I2C_SLAVE_ADDR   MPL3115_I2C_ADDR

Definition at line 44 of file baro_mpl3115.c.

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:

Variable Documentation

◆ baro_mpl

struct Mpl3115 baro_mpl