Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
baro_bmp3.c File Reference

Bosch BMP3 I2C sensor interface. More...

#include "baro_bmp3.h"
#include "subsystems/abi.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for baro_bmp3.c:

Go to the source code of this file.

Macros

#define BMP3_SLAVE_ADDR   BMP3_I2C_ADDR
 default slave address More...
 

Functions

void baro_bmp3_init (void)
 
void baro_bmp3_periodic (void)
 
void baro_bmp3_event (void)
 

Variables

struct Bmp3_I2c baro_bmp3
 

Detailed Description

Bosch BMP3 I2C sensor interface.

This reads the values for pressure and temperature from the Bosch BMP3 sensor through I2C.

Definition in file baro_bmp3.c.

Macro Definition Documentation

#define BMP3_SLAVE_ADDR   BMP3_I2C_ADDR

default slave address

Definition at line 39 of file baro_bmp3.c.

Referenced by baro_bmp3_init().

Function Documentation

void baro_bmp3_event ( void  )
void baro_bmp3_init ( void  )

Definition at line 44 of file baro_bmp3.c.

References baro_bmp3, bmp3_i2c_init(), and BMP3_SLAVE_ADDR.

+ Here is the call graph for this function:

void baro_bmp3_periodic ( void  )

Definition at line 49 of file baro_bmp3.c.

References baro_bmp3, and bmp3_i2c_periodic().

+ Here is the call graph for this function:

Variable Documentation

struct Bmp3_I2c baro_bmp3

Definition at line 42 of file baro_bmp3.c.

Referenced by baro_bmp3_event(), baro_bmp3_init(), and baro_bmp3_periodic().