Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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:79
struct i2c_transaction baro_hca_i2c_trans
Definition baro_hca.c:61
@ I2CTransSuccess
transaction successfully finished by I2C driver
Definition i2c.h:58
@ I2CTransFailed
transaction failed
Definition i2c.h:59
@ I2CTransDone
transaction set to done by user level
Definition i2c.h:60

Definition at line 36 of file baro_hca.h.

Function Documentation

◆ baro_hca_init()

void baro_hca_init ( void )
extern

Definition at line 63 of file baro_hca.c.

References baro_hca_i2c_trans, baro_hca_valid, I2CTransDone, and pBaroRaw.

◆ baro_hca_read_event()

void baro_hca_read_event ( void )
extern

◆ baro_hca_read_periodic()

void baro_hca_read_periodic ( void )
extern

Definition at line 71 of file baro_hca.c.

References BARO_HCA_ADDR, BARO_HCA_I2C_DEV, baro_hca_i2c_trans, i2c_receive(), and I2CTransDone.

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 61 of file baro_hca.c.

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