|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
33 #include BOARD_CONFIG // include board specific settings
41 #include "pprzlink/messages.h"
46 #if BARO_PERIODIC_FREQUENCY > 100
47 #error "For MS5611 BARO_PERIODIC_FREQUENCY has to be <= 100"
57 #ifndef BB_MS5611_SLAVE_ADDR
58 #define BB_MS5611_SLAVE_ADDR 0xEE
62 #ifndef BB_MS5611_TYPE_MS5607
63 #define BB_MS5611_TYPE_MS5607 FALSE
bool initialized
config done flag
#define BARO_BOARD_SENDER_ID
default onboard baro
int32_t temperature
temperature with 0.01 degrees Celsius resolution
struct MedianFilterFloat bb_ms5611_filt
void ms5611_i2c_init(struct Ms5611_I2c *ms, struct i2c_periph *i2c_p, uint8_t addr, bool is_ms5607)
#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
struct Ms5611_I2c bb_ms5611
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
volatile bool data_available
data ready flag
Architecture independent timing functions.
#define BB_MS5611_TYPE_MS5607
set to TRUE if baro is actually a MS5607
void ms5611_i2c_event(struct Ms5611_I2c *ms)
arch independent LED (Light Emitting Diodes) API
Common code for AP and FBW telemetry.
static void ms5611_i2c_periodic(struct Ms5611_I2c *ms)
convenience function
volatile uint32_t nb_sec
full seconds since startup
uint32_t pressure
pressure in Pascal (0.01mbar)