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_periodic(void)
void baro_hca_read_event(void)
I2C transaction structure.
struct i2c_transaction baro_hca_i2c_trans
Architecture independent I2C (Inter-Integrated Circuit Bus) API.