Paparazzi UAS  v5.18.0_stable
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 ( )

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

Definition at line 60 of file baro_hca.c.

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

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