Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
baro_board.h File Reference
#include "std.h"
#include "subsystems/sensors/baro.h"
#include "mcu_periph/adc.h"
#include "mcu_periph/dac.h"
+ Include dependency graph for baro_board.h:

Go to the source code of this file.

Data Structures

struct  BaroBoard


#define BaroEvent()   {}


enum  BaroBoardStatus { BB_UNINITIALIZED, BB_RUNNING }


void baro_board_calibrate (void)
static void baro_board_SetOffset (uint16_t _o)


struct BaroBoard baro_board

Data Structure Documentation

struct BaroBoard

Definition at line 42 of file baro_board.h.

+ Collaboration diagram for BaroBoard:
Data Fields
int32_t absolute
struct adc_buf buf
uint16_t offset
bool running
enum BaroBoardStatus status
enum LisaBaroStatus status
uint16_t value_filtered

Macro Definition Documentation

#define BaroEvent ( )    {}

Definition at line 53 of file baro_board.h.

Enumeration Type Documentation


Definition at line 37 of file baro_board.h.

Function Documentation

void baro_board_calibrate ( void  )

Definition at line 95 of file baro_board.c.

References baro_board, BB_RUNNING, BOOZ_ANALOG_BARO_THRESHOLD, DACSet(), LED_ON, LED_TOGGLE, BaroBoard::offset, BaroBoard::status, and BaroBoard::value_filtered.

Referenced by baro_periodic().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void baro_board_SetOffset ( uint16_t  _o)

Definition at line 55 of file baro_board.h.

References baro_board, DACSet(), and BaroBoard::offset.

+ Here is the call graph for this function:

Variable Documentation

struct BaroBoard baro_board