40 #include "pprzlink/messages.h"
43 #ifdef BARO_PERIODIC_FREQUENCY
44 #if BARO_PERIODIC_FREQUENCY > 100
45 #error "For MS5611 BARO_PERIODIC_FREQUENCY has to be < 100"
56 #ifndef BB_MS5611_SLAVE_ADDR
57 #define BB_MS5611_SLAVE_ADDR 0xEE
61 #ifndef BB_MS5611_TYPE_MS5607
62 #define BB_MS5611_TYPE_MS5607 FALSE
struct Ms5611_I2c bb_ms5611
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
void ms5611_i2c_init(struct Ms5611_I2c *ms, struct i2c_periph *i2c_p, uint8_t addr, bool is_ms5607)
Common barometric sensor implementation.
uint32_t pressure
pressure in Pascal (0.01mbar)
Main include for ABI (AirBorneInterface).
#define BB_MS5611_SLAVE_ADDR
default i2c address when CSB is set to GND addr is 0xEE when CSB is set to VCC addr is 0xEC ...
volatile bool data_available
data ready flag
Architecture independent timing functions.
Measurement Specialties (Intersema) MS5611-01BA and MS5607-02BA03 pressure/temperature sensor interfa...
static void ms5611_i2c_periodic(struct Ms5611_I2c *ms)
convenience function
#define BARO_BOARD_SENDER_ID
default onboard baro
void ms5611_i2c_event(struct Ms5611_I2c *ms)
volatile uint32_t nb_sec
full seconds since startup
Paparazzi Bebop Baro Sensor implementation for the MS5607.
Common code for AP and FBW telemetry.
bool initialized
config done flag
arch independent LED (Light Emitting Diodes) API
#define BB_MS5611_TYPE_MS5607
set to TRUE if baro is actually a MS5607
int32_t temperature
temperature with 0.01 degrees Celsius resolution