42 #ifdef BARO_PERIODIC_FREQUENCY
43 #if BARO_PERIODIC_FREQUENCY > 100
44 #error "For MS5611 BARO_PERIODIC_FREQUENCY has to be < 100"
49 #ifndef BB_MS5611_TYPE_MS5607
50 #define BB_MS5611_TYPE_MS5607 FALSE
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
Common barometric sensor implementation.
Measurement Specialties (Intersema) MS5611-01BA and MS5607-02BA03 pressure/temperature sensor interfa...
uint32_t pressure
pressure in Pascal (0.01mbar)
Main include for ABI (AirBorneInterface).
struct Ms5611_Spi bb_ms5611
void ms5611_spi_init(struct Ms5611_Spi *ms, struct spi_periph *spi_p, uint8_t slave_idx, bool_t is_ms5607)
void ms5611_spi_event(struct Ms5611_Spi *ms)
Architecture independent timing functions.
#define BARO_BOARD_SENDER_ID
default onboard baro
bool_t initialized
config done flag
#define DefaultChannel
SITL.
volatile uint32_t nb_sec
full seconds since startup
Common code for AP and FBW telemetry.
volatile bool_t data_available
data ready flag
arch independent LED (Light Emitting Diodes) API
static void ms5611_spi_periodic(struct Ms5611_Spi *ms)
convenience function
int32_t temperature
temperature with 0.01 degrees Celsius resolution
#define BB_MS5611_TYPE_MS5607
set to TRUE if baro is actually a MS5607