Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
baro_board.c File Reference
#include "subsystems/sensors/baro.h"
#include "generated/airframe.h"
#include "led.h"
+ Include dependency graph for baro_board.c:

Go to the source code of this file.

Macros

#define BOOZ_ANALOG_BARO_THRESHOLD   850
 

Functions

void baro_init (void)
 
void baro_periodic (void)
 
void baro_board_calibrate (void)
 

Variables

struct Baro baro
 
struct BaroBoard baro_board
 

Macro Definition Documentation

#define BOOZ_ANALOG_BARO_THRESHOLD   850

Definition at line 31 of file baro_board.c.

Referenced by baro_board_calibrate().

Function Documentation

void baro_board_calibrate ( void  )

Definition at line 68 of file baro_board.c.

References baro, baro_board, BOOZ_ANALOG_BARO_THRESHOLD, BS_RUNNING, DACSet(), LED_ON, LED_TOGGLE, BaroBoard::offset, Baro::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:

void baro_init ( void  )

Definition at line 38 of file baro_board.c.

Referenced by main_init().

+ Here is the caller graph for this function:

void baro_periodic ( void  )

Definition at line 56 of file baro_board.c.

Referenced by handle_periodic_tasks(), main_periodic(), main_periodic_task(), and test_baro_periodic().

+ Here is the caller graph for this function:

Variable Documentation

struct BaroBoard baro_board

Definition at line 35 of file baro_board.c.

Referenced by baro_board_calibrate(), baro_init(), and baro_periodic().