Searched refs:aos_i2c_msg_t (Results 1 – 2 of 2) sorted by relevance
22 } aos_i2c_msg_t; typedef32 #define aos_i2c_msg_init(x) do { *(x) = (aos_i2c_msg_t)AOS_I2C_MSG_INIT_VAL; } while (0)58 aos_status_t aos_i2c_transfer(aos_i2c_ref_t *ref, const aos_i2c_msg_t *msgs, size_t num_msgs);
23 static aos_status_t transfer_sequence(aos_i2c_t *i2c, const aos_i2c_msg_t *msgs, size_t num_msgs) in transfer_sequence()25 const aos_i2c_msg_t *last_msg = NULL; in transfer_sequence()32 const aos_i2c_msg_t *msg = &msgs[i]; in transfer_sequence()33 const aos_i2c_msg_t *next_msg; in transfer_sequence()119 aos_status_t aos_i2c_transfer(aos_i2c_ref_t *ref, const aos_i2c_msg_t *msgs, size_t num_msgs) in aos_i2c_transfer()130 const aos_i2c_msg_t *msg = &msgs[i]; in aos_i2c_transfer()
Completed in 3 milliseconds