Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
baro_hca.h File Reference
#include "std.h"
#include "mcu_periph/i2c.h"
+ Include dependency graph for baro_hca.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BaroHcaEvent()
 

Functions

void baro_hca_init (void)
 
void baro_hca_read_periodic (void)
 
void baro_hca_read_event (void)
 

Variables

struct i2c_transaction baro_hca_i2c_trans
 

Macro Definition Documentation

#define BaroHcaEvent ( )
Value:
{ \
}
status
Definition: anemotaxis.c:10
transaction successfully finished by I2C driver
Definition: i2c.h:57
void baro_hca_read_event(void)
Definition: baro_hca.c:78
transaction set to done by user level
Definition: i2c.h:59
transaction failed
Definition: i2c.h:58
enum I2CTransactionStatus status
Transaction status.
Definition: i2c.h:126
struct i2c_transaction baro_hca_i2c_trans
Definition: baro_hca.c:60
if(PrimarySpektrumState.SpektrumTimer)

Definition at line 36 of file baro_hca.h.

Function Documentation

void baro_hca_init ( void  )
void baro_hca_read_periodic ( void  )

Definition at line 70 of file baro_hca.c.

References BARO_HCA_ADDR, BARO_HCA_I2C_DEV, baro_hca_i2c_trans, i2c_receive(), I2CTransDone, and i2c_transaction::status.

+ Here is the call graph for this function:

Variable Documentation

struct i2c_transaction baro_hca_i2c_trans

Definition at line 60 of file baro_hca.c.

Referenced by baro_hca_init(), baro_hca_read_event(), and baro_hca_read_periodic().