Lines Matching refs:transfer

88     handle->transfer.slaveAddress   = xfer->slaveAddress;  in FLEXIO_I2C_MasterTransferInitStateMachine()
89 handle->transfer.direction = xfer->direction; in FLEXIO_I2C_MasterTransferInitStateMachine()
90 handle->transfer.subaddress = xfer->subaddress; in FLEXIO_I2C_MasterTransferInitStateMachine()
91 handle->transfer.subaddressSize = xfer->subaddressSize; in FLEXIO_I2C_MasterTransferInitStateMachine()
92 handle->transfer.data = xfer->data; in FLEXIO_I2C_MasterTransferInitStateMachine()
93 handle->transfer.dataSize = xfer->dataSize; in FLEXIO_I2C_MasterTransferInitStateMachine()
94 handle->transfer.flags = xfer->flags; in FLEXIO_I2C_MasterTransferInitStateMachine()
104 …needRestart = (handle->transfer.subaddressSize != 0U) && (handle->transfer.direction == kF… in FLEXIO_I2C_MasterTransferInitStateMachine()
112 byteCount += handle->transfer.dataSize; in FLEXIO_I2C_MasterTransferInitStateMachine()
115 if (handle->transfer.subaddressSize != 0U) in FLEXIO_I2C_MasterTransferInitStateMachine()
117 byteCount += handle->transfer.subaddressSize; in FLEXIO_I2C_MasterTransferInitStateMachine()
164 … if ((!((handle->state == (uint8_t)kFLEXIO_I2C_SendData) && (handle->transfer.dataSize == 0U))) && in FLEXIO_I2C_MasterTransferRunStateMachine()
167 (handle->transfer.dataSize == 1U)))) in FLEXIO_I2C_MasterTransferRunStateMachine()
194 FLEXIO_I2C_MasterStart(base, handle->transfer.slaveAddress, kFLEXIO_I2C_Write); in FLEXIO_I2C_MasterTransferRunStateMachine()
198 … FLEXIO_I2C_MasterStart(base, handle->transfer.slaveAddress, handle->transfer.direction); in FLEXIO_I2C_MasterTransferRunStateMachine()
200 if (handle->transfer.subaddressSize == 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
202 if (handle->transfer.direction == kFLEXIO_I2C_Write) in FLEXIO_I2C_MasterTransferRunStateMachine()
224 if (handle->transfer.subaddressSize > 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
226 handle->transfer.subaddressSize--; in FLEXIO_I2C_MasterTransferRunStateMachine()
228 … base, ((handle->transfer.subaddress) >> (8U * handle->transfer.subaddressSize))); in FLEXIO_I2C_MasterTransferRunStateMachine()
230 if (handle->transfer.subaddressSize == 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
233 if (handle->transfer.direction == kFLEXIO_I2C_Read) in FLEXIO_I2C_MasterTransferRunStateMachine()
257 if (handle->transfer.direction == kFLEXIO_I2C_Write) in FLEXIO_I2C_MasterTransferRunStateMachine()
260 if (handle->transfer.dataSize > 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
265 FLEXIO_I2C_MasterWriteByte(base, *handle->transfer.data); in FLEXIO_I2C_MasterTransferRunStateMachine()
266 handle->transfer.data++; in FLEXIO_I2C_MasterTransferRunStateMachine()
267 handle->transfer.dataSize--; in FLEXIO_I2C_MasterTransferRunStateMachine()
294 … (void)FLEXIO_I2C_MasterSetTransferCount(base, (uint16_t)(handle->transfer.dataSize + 1U)); in FLEXIO_I2C_MasterTransferRunStateMachine()
297 … FLEXIO_I2C_MasterStart(base, handle->transfer.slaveAddress, kFLEXIO_I2C_Read); in FLEXIO_I2C_MasterTransferRunStateMachine()
311 if (handle->transfer.dataSize > 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
313 FLEXIO_I2C_MasterWriteByte(base, *handle->transfer.data); in FLEXIO_I2C_MasterTransferRunStateMachine()
315 handle->transfer.data++; in FLEXIO_I2C_MasterTransferRunStateMachine()
316 handle->transfer.dataSize--; in FLEXIO_I2C_MasterTransferRunStateMachine()
348 if (handle->transfer.dataSize == 1U) in FLEXIO_I2C_MasterTransferRunStateMachine()
386 *handle->transfer.data = FLEXIO_I2C_MasterReadByte(base); in FLEXIO_I2C_MasterTransferRunStateMachine()
387 handle->transfer.data++; in FLEXIO_I2C_MasterTransferRunStateMachine()
388 if (0U != handle->transfer.dataSize--) in FLEXIO_I2C_MasterTransferRunStateMachine()
390 if (handle->transfer.dataSize == 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
402 if (handle->transfer.dataSize == 1U) in FLEXIO_I2C_MasterTransferRunStateMachine()
426 if (handle->transfer.dataSize > 1U) in FLEXIO_I2C_MasterTransferRunStateMachine()
1234 *count = handle->transferSize - handle->transfer.dataSize; in FLEXIO_I2C_MasterTransferGetCount()