I2C transaction structure.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.
LPS25H barometer driver interface.
float lps25h_readPressureMillibars(int32_t press)
bool initialized
config done flag
struct i2c_periph * i2c_p
void lps25h_i2c_event(struct Lps25h_I2c *lps)
void lps25h_i2c_start_configure(struct Lps25h_I2c *lps)
void lps25h_i2c_init(struct Lps25h_I2c *lps, struct i2c_periph *i2c_p, uint8_t addr)
static void lps25h_i2c_periodic(struct Lps25h_I2c *lps)
volatile bool data_available
data ready flag
void lps25h_i2c_read(struct Lps25h_I2c *lps)
struct i2c_transaction i2c_trans
enum Lps25hConfStatus init_status
init status
float pressureToAltMeters(float pressure_mbar, float altimeter_setting_mbar)
struct Lps25hConfig config
Paparazzi fixed point algebra.
int int32_t
Typedef defining 32 bit int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.