volatile uint8_t buf[I2C_BUF_LEN]
Transaction buffer With I2C_BUF_LEN number of bytes.
#define AMI601_SENDING_REQ
#define AMI601_SLAVE_ADDR
transaction successfully finished by I2C driver
struct i2c_transaction ami601_i2c_trans
volatile uint8_t ami601_status
uint8_t len_w
Number of bytes to write/transmit.
uint16_t ami601_values[AMI601_NB_CHAN]
I2C transaction structure.
enum I2CTransactionStatus status
Transaction status.
volatile uint32_t ami601_nb_err
uint8_t slave_addr
Slave address.
static bool i2c_submit(struct i2c_periph *p, struct i2c_transaction *t)
Submit a I2C transaction.
transmit only transaction
enum I2CTransactionType type
Transaction type.