Searched refs:cur_is_read (Results 1 – 1 of 1) sorted by relevance
291 uint32_t cur_is_read; in i2c_start_xfer() local369 cur_is_read = (cmdr_reg & TWIM_CMDR_READ); in i2c_start_xfer()375 (cur_is_read ? TWIM_IER_RXRDY : TWIM_IER_TXRDY) | in i2c_start_xfer()386 uint32_t cur_is_read; in i2c_prepare_next() local402 cur_is_read = (cmdr_reg & TWIM_CMDR_READ); in i2c_prepare_next()403 twim->IER |= (cur_is_read ? TWIM_IER_RXRDY : TWIM_IER_TXRDY); in i2c_prepare_next()