Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
baro_bmp3.c File Reference
#include "baro_bmp3.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_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

◆ BMP3_SLAVE_ADDR

#define BMP3_SLAVE_ADDR   BMP3_I2C_ADDR

default slave address

Definition at line 39 of file baro_bmp3.c.

Function Documentation

◆ baro_bmp3_event()

void baro_bmp3_event ( void  )

◆ baro_bmp3_init()

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:

◆ baro_bmp3_periodic()

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

◆ baro_bmp3

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