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_scp.h File Reference
#include "std.h"
+ Include dependency graph for baro_scp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STA_UNINIT   0
 
#define STA_INITIALISING   1
 
#define STA_IDLE   2
 
#define BaroScpUpdate(_b, _h)   { if (baro_scp_available) { _b = baro_scp_pressure; _h(); baro_scp_available = FALSE; } }
 

Functions

void baro_scp_init (void)
 
void baro_scp_periodic (void)
 
void baro_scp_event (void)
 

Variables

uint8_t baro_scp_status
 
uint32_t baro_scp_pressure
 
uint16_t baro_scp_temperature
 
bool_t baro_scp_available
 

Macro Definition Documentation

#define BaroScpUpdate (   _b,
  _h 
)    { if (baro_scp_available) { _b = baro_scp_pressure; _h(); baro_scp_available = FALSE; } }

Definition at line 23 of file baro_scp.h.

#define STA_IDLE   2

Definition at line 12 of file baro_scp.h.

#define STA_INITIALISING   1

Definition at line 11 of file baro_scp.h.

#define STA_UNINIT   0

Definition at line 10 of file baro_scp.h.

Function Documentation

void baro_scp_event ( void  )

Definition at line 185 of file baro_scp.c.

void baro_scp_init ( void  )

Definition at line 73 of file baro_scp.c.

void baro_scp_periodic ( void  )

Definition at line 36 of file baro_scp.c.

Variable Documentation

bool_t baro_scp_available

Definition at line 29 of file baro_scp.c.

Referenced by baro_scp_event(), and SPI1_ISR().

uint32_t baro_scp_pressure

Definition at line 27 of file baro_scp.c.

uint8_t baro_scp_status

Definition at line 26 of file baro_scp.c.

uint16_t baro_scp_temperature

Definition at line 28 of file baro_scp.c.