Paparazzi UAS  v4.0.4_stable-3-gf39211a
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 "led.h"
#include "mcu_periph/spi.h"
+ Include dependency graph for baro_board.c:

Go to the source code of this file.

Macros

#define STARTUP_COUNTER   200
 

Functions

void baro_init (void)
 
void baro_periodic (void)
 

Variables

struct Baro baro
 
uint16_t startup_cnt
 

Macro Definition Documentation

#define STARTUP_COUNTER   200

Definition at line 36 of file baro_board.c.

Referenced by baro_init().

Function Documentation

void baro_init ( void  )

Definition at line 39 of file baro_board.c.

References Baro::absolute, baro, BS_UNINITIALIZED, Baro::differential, LED_OFF, mcp355x_init(), startup_cnt, STARTUP_COUNTER, and Baro::status.

+ Here is the call graph for this function:

void baro_periodic ( void  )

Definition at line 51 of file baro_board.c.

References baro, BS_RUNNING, BS_UNINITIALIZED, LED_ON, LED_TOGGLE, mcp355x_read(), startup_cnt, and Baro::status.

+ Here is the call graph for this function:

Variable Documentation

struct Baro baro

Definition at line 33 of file baro_board.c.

uint16_t startup_cnt

Definition at line 37 of file baro_board.c.

Referenced by baro_init(), and baro_periodic().