36 #define BaroHcaEvent() { \
37 if (baro_hca_i2c_trans.status == I2CTransSuccess) baro_hca_read_event(); \
38 else if (baro_hca_i2c_trans.status == I2CTransFailed) baro_hca_i2c_trans.status = I2CTransDone; \
void baro_hca_read_event(void)
void baro_hca_read_periodic(void)
struct i2c_transaction baro_hca_i2c_trans
I2C transaction structure.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.