Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
baro_board_module.c File Reference
+ Include dependency graph for baro_board_module.c:

Go to the source code of this file.

Macros

#define BARO_STARTUP_COUNTER   200
 

Functions

void baro_init (void)
 Implementation of the generic baro interface initialization. More...
 
void baro_periodic (void)
 Implementation of the generic baro interface periodic task. More...
 

Variables

struct Baro baro
 
uint16_t startup_cnt
 

Macro Definition Documentation

#define BARO_STARTUP_COUNTER   200

Definition at line 34 of file baro_board_module.c.

Referenced by baro_init().

Function Documentation

void baro_init ( void  )

Implementation of the generic baro interface initialization.

No need to call this functions from the modules, already done by main.

Definition at line 40 of file baro_board_module.c.

References Baro::absolute, baro, BARO_STARTUP_COUNTER, BS_UNINITIALIZED, Baro::differential, mpl3115_init(), startup_cnt, and Baro::status.

+ Here is the call graph for this function:

void baro_periodic ( void  )

Implementation of the generic baro interface periodic task.

No need to call this functions from the modules, already done by main.

Definition at line 50 of file baro_board_module.c.

References baro, BS_RUNNING, BS_UNINITIALIZED, Mpu60x0_I2c::config, FALSE, imu_apogee, Mpu60x0Config::initialized, mpl3115_data_available, Mpl3115Periodic, ImuApogee::mpu, startup_cnt, and Baro::status.

Variable Documentation

struct Baro baro

Definition at line 31 of file baro_board_module.c.

Referenced by baro_init(), and baro_periodic().

uint16_t startup_cnt

Definition at line 35 of file baro_board_module.c.

Referenced by baro_init(), and baro_periodic().