Paparazzi UAS  v5.15_devel-105-g9de12e2
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 "subsystems/abi.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/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

#define BARO_MPL3115_I2C_DEV   i2c0

Definition at line 40 of file baro_mpl3115.c.

Referenced by baro_mpl3115_init().

#define BARO_MPL3115_I2C_SLAVE_ADDR   MPL3115_I2C_ADDR

Definition at line 44 of file baro_mpl3115.c.

Referenced by baro_mpl3115_init().

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  )
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

struct Mpl3115 baro_mpl