30 #include "generated/airframe.h"
36 #ifndef BOOZ_ANALOG_BARO_THRESHOLD
37 #define BOOZ_ANALOG_BARO_THRESHOLD 850
59 #ifndef BOOZ_BARO_SENS
60 #define BOOZ_BARO_SENS 0.759837
struct BaroBoard baro_board
Common barometric sensor implementation.
void baro_board_calibrate(void)
Main include for ABI (AirBorneInterface).
void adc_buf_channel(uint8_t adc_channel, struct adc_buf *s, uint8_t av_nb_sample)
Link between ChibiOS ADC drivers and Paparazzi adc_buffers.
#define BOOZ_ANALOG_BARO_THRESHOLD
threshold >0 && <1023
enum BaroBoardStatus status
#define BOOZ_BARO_SENS
scale factor to convert raw ADC measurement to pressure in Pascal.
#define BARO_BOARD_SENDER_ID
default onboard baro
static void DACSet(uint16_t x)
arch independent LED (Light Emitting Diodes) API
#define DEFAULT_AV_NB_SAMPLE
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.