46 ads1114_1.config_done =
false;
47 ads1114_1.data_available =
false;
57 ads1114_2.config_done =
false;
58 ads1114_2.data_available =
false;
void ads1114_read(struct ads1114_periph *p)
#define ADS1114_1_CONFIG_MSB
#define ADS1114_2_I2C_ADDR
#define ADS1114_1_I2C_ADDR
#define ADS1114_2_CONFIG_MSB
#define ADS1114_1_CONFIG_LSB
#define ADS1114_POINTER_CONFIG_REG
#define ADS1114_2_CONFIG_LSB
#define ADS1114_POINTER_CONV_REG
bool i2c_transmit(struct i2c_periph *p, struct i2c_transaction *t, uint8_t s_addr, uint8_t len)
Submit a write only transaction.
bool i2c_transceive(struct i2c_periph *p, struct i2c_transaction *t, uint8_t s_addr, uint8_t len_w, uint16_t len_r)
Submit a write/read transaction.
@ I2CTransDone
transaction set to done by user level