|
Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
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 |
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.
| #define BMP3_SLAVE_ADDR BMP3_I2C_ADDR |
| void baro_bmp3_event | ( | void | ) |
Definition at line 54 of file baro_bmp3.c.
References baro_bmp3, BARO_BMP3_SENDER_ID, bmp3_i2c_event(), Bmp3_I2c::data_available, DefaultChannel, DefaultDevice, get_sys_time_usec(), p, Bmp3_I2c::pressure, Bmp3_I2c::raw_pressure, Bmp3_I2c::raw_temperature, Bmp3_I2c::temperature, and up.
Here is the call graph for this function:| 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:| 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().