Searched refs:I2C_M_RD (Results 1 – 3 of 3) sorted by relevance
53 msg.flags = I2C_M_STOP | I2C_M_RD; in i2c_m_sync_read()213 msg.flags = I2C_M_STOP | I2C_M_RD; in i2c_m_sync_cmd_read()
55 #define I2C_M_RD 0x0001 /* read data, from slave to master */ macro
977 … ((((msg->addr & TEN_ADDR_MASK) >> 8) | TEN_ADDR_FRAME) << 1) | I2C_M_RD in _sercom_i2c_sync_analyse_flags()1171 if (msg->flags & I2C_M_RD) { in _sercom_i2c_send_address()1180 … ((msg->addr & SEVEN_ADDR_MASK) << 1) | (msg->flags & I2C_M_RD ? I2C_M_RD : 0x0) in _sercom_i2c_send_address()1449 if (msg->flags & I2C_M_RD) { in _sercom_i2c_sync_send_address()1458 … ((msg->addr & SEVEN_ADDR_MASK) << 1) | (msg->flags & I2C_M_RD ? I2C_M_RD : 0x0) in _sercom_i2c_sync_send_address()