Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
baro_bmp280_i2c.h File Reference

Bosch BMP280 I2C sensor interface. More...

+ Include dependency graph for baro_bmp280_i2c.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void baro_bmp280_init (void)
 
void baro_bmp280_periodic (void)
 
void baro_bmp280_event (void)
 

Variables

struct Bmp280_I2c baro_bmp280
 
float baro_alt
 
bool baro_alt_valid
 

Detailed Description

Bosch BMP280 I2C sensor interface.

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

Definition in file baro_bmp280_i2c.h.

Function Documentation

◆ baro_bmp280_event()

◆ baro_bmp280_init()

void baro_bmp280_init ( void  )

Definition at line 68 of file baro_bmp280_i2c.c.

References baro_bmp280, bmp280_i2c_init(), BMP280_SLAVE_ADDR, DefaultPeriodic, register_periodic_telemetry(), and send_baro_bmp_data().

+ Here is the call graph for this function:

◆ baro_bmp280_periodic()

void baro_bmp280_periodic ( void  )

Definition at line 77 of file baro_bmp280_i2c.c.

References baro_bmp280, and bmp280_i2c_periodic().

+ Here is the call graph for this function:

Variable Documentation

◆ baro_alt

float baro_alt
extern

◆ baro_alt_valid

bool baro_alt_valid
extern

Definition at line 49 of file baro_bmp280_i2c.c.

Referenced by baro_bmp280_event().

◆ baro_bmp280

struct Bmp280_I2c baro_bmp280
extern

Definition at line 49 of file baro_bmp280_i2c.c.

Referenced by baro_bmp280_event(), baro_bmp280_init(), and baro_bmp280_periodic().