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

Go to the source code of this file.

Macros

#define PbnEvent()   { if (pbn_trans.status == I2CTransSuccess) pbn_read_event(); }
 
#define PERIODIC_SEND_PBN(_chan)   DOWNLINK_SEND_PBN(DefaultChannel, DefaultDevice,&airspeed_adc,&altitude_adc,&pbn_airspeed,&pbn_altitude,&airspeed_offset,&altitude_offset);
 

Functions

void pbn_init (void)
 
void pbn_periodic (void)
 
void pbn_read_event (void)
 

Variables

uint16_t altitude_adc
 
uint16_t airspeed_adc
 
uint16_t altitude_offset
 
uint16_t airspeed_offset
 
float pbn_altitude
 
float pbn_airspeed
 
float airspeed_filter
 
bool_t data_valid
 
struct i2c_transaction pbn_trans
 

Macro Definition Documentation

#define PbnEvent ( )    { if (pbn_trans.status == I2CTransSuccess) pbn_read_event(); }

Definition at line 55 of file pressure_board_navarro.h.

#define PERIODIC_SEND_PBN (   _chan)    DOWNLINK_SEND_PBN(DefaultChannel, DefaultDevice,&airspeed_adc,&altitude_adc,&pbn_airspeed,&pbn_altitude,&airspeed_offset,&altitude_offset);

Definition at line 57 of file pressure_board_navarro.h.

Function Documentation

void pbn_periodic ( void  )

Variable Documentation

uint16_t airspeed_adc

Definition at line 61 of file pressure_board_navarro.c.

Referenced by pbn_init(), and pbn_read_event().

float airspeed_filter
uint16_t airspeed_offset

Definition at line 70 of file pressure_board_navarro.c.

Referenced by pbn_init(), and pbn_read_event().

uint16_t altitude_adc

Definition at line 60 of file pressure_board_navarro.c.

Referenced by pbn_init(), and pbn_read_event().

uint16_t altitude_offset

Definition at line 69 of file pressure_board_navarro.c.

Referenced by pbn_init(), and pbn_read_event().

bool_t data_valid

Definition at line 62 of file pressure_board_navarro.c.

Referenced by pbn_init(), and pbn_read_event().

float pbn_airspeed

Definition at line 72 of file pressure_board_navarro.c.

Referenced by pbn_init(), and pbn_read_event().

float pbn_altitude

Definition at line 71 of file pressure_board_navarro.c.

Referenced by pbn_init(), and pbn_read_event().

struct i2c_transaction pbn_trans

Definition at line 63 of file pressure_board_navarro.c.

Referenced by pbn_periodic(), and pbn_read_event().