Home
last modified time | relevance | path

Searched refs:byte0 (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_bitbang.c223 unsigned int byte0 = slave_address << 1; in i2c_bitbang_transfer() local
225 byte0 |= (flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_bitbang_transfer()
226 if (!i2c_write_byte(context, byte0)) { in i2c_bitbang_transfer()
Di2c_imx.c182 uint8_t byte0 = addr << 1; in i2c_imx_send_addr() local
184 byte0 |= (flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_imx_send_addr()
185 return i2c_imx_write(dev, &byte0, 1); in i2c_imx_send_addr()