Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_sam4l_twim.c291 uint32_t cur_is_read; in i2c_start_xfer() local
369 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() local
402 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()