Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
baro_board.c File Reference
#include "std.h"
#include "baro_board.h"
#include "subsystems/sensors/baro.h"
#include "peripherals/ads1114.h"
#include "subsystems/abi.h"
#include "led.h"
+ Include dependency graph for baro_board.c:

Go to the source code of this file.

Macros

#define BARO_ABS_ADS   ads1114_1
 
#define UMARIM_BARO_SENS   0.0274181
 
#define BARO_STARTUP_COUNTER   200
 

Functions

void baro_init (void)
 
void baro_periodic (void)
 
void umarim_baro_event (void)
 

Variables

uint16_t startup_cnt
 

Macro Definition Documentation

#define BARO_ABS_ADS   ads1114_1

Definition at line 37 of file baro_board.c.

Referenced by baro_periodic(), and umarim_baro_event().

#define BARO_STARTUP_COUNTER   200

Definition at line 46 of file baro_board.c.

Referenced by baro_init().

#define UMARIM_BARO_SENS   0.0274181

Definition at line 42 of file baro_board.c.

Referenced by umarim_baro_event().

Function Documentation

void baro_init ( void  )

Definition at line 49 of file baro_board.c.

References ads1114_init(), apogee_baro, BARO_STARTUP_COUNTER, LED_OFF, MPL3115_I2C_ADDR, mpl3115_init(), and startup_cnt.

+ Here is the call graph for this function:

void baro_periodic ( void  )
void umarim_baro_event ( void  )

Variable Documentation

uint16_t startup_cnt

Definition at line 47 of file baro_board.c.