Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ BaroHcaEvent

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

Definition at line 36 of file baro_hca.h.

Function Documentation

◆ baro_hca_init()

void baro_hca_init ( void  )

◆ baro_hca_read_event()

◆ baro_hca_read_periodic()

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

◆ baro_hca_i2c_trans

struct i2c_transaction baro_hca_i2c_trans
extern

Definition at line 57 of file baro_hca.c.

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