Lines Matching refs:transfer
237 handle->transfer = *xfer; in I2C_InitTransferStateMachine()
243 if (handle->transfer.subaddressSize > 0u) in I2C_InitTransferStateMachine()
257 if (0U != (handle->transfer.flags & (uint32_t)kI2C_TransferNoStartFlag)) in I2C_InitTransferStateMachine()
260 if (handle->transfer.subaddressSize > 0u) in I2C_InitTransferStateMachine()
297 else if (0U != (handle->transfer.flags & (uint32_t)kI2C_TransferRepeatedStartFlag)) in I2C_InitTransferStateMachine()
299 result = I2C_MasterRepeatedStart(base, handle->transfer.slaveAddress, direction); in I2C_InitTransferStateMachine()
303 result = I2C_MasterStart(base, handle->transfer.slaveAddress, direction); in I2C_InitTransferStateMachine()
338 uint32_t tmpDataSize = handle->transfer.dataSize; in I2C_MasterTransferRunStateMachine()
362 if (handle->transfer.subaddressSize > 0U) in I2C_MasterTransferRunStateMachine()
368 if (handle->transfer.direction == kI2C_Write) in I2C_MasterTransferRunStateMachine()
392 if (0U != (handle->transfer.subaddressSize)) in I2C_MasterTransferRunStateMachine()
394 handle->transfer.subaddressSize--; in I2C_MasterTransferRunStateMachine()
395 … base->D = (uint8_t)((handle->transfer.subaddress) >> (8U * handle->transfer.subaddressSize)); in I2C_MasterTransferRunStateMachine()
399 if (handle->transfer.direction == kI2C_Write) in I2C_MasterTransferRunStateMachine()
402 if (handle->transfer.dataSize > 0U) in I2C_MasterTransferRunStateMachine()
406 base->D = *handle->transfer.data; in I2C_MasterTransferRunStateMachine()
407 handle->transfer.data++; in I2C_MasterTransferRunStateMachine()
408 handle->transfer.dataSize--; in I2C_MasterTransferRunStateMachine()
418 … result = I2C_MasterRepeatedStart(base, handle->transfer.slaveAddress, kI2C_Read); in I2C_MasterTransferRunStateMachine()
429 if (handle->transfer.dataSize > 0U) in I2C_MasterTransferRunStateMachine()
431 base->D = *handle->transfer.data; in I2C_MasterTransferRunStateMachine()
432 handle->transfer.data++; in I2C_MasterTransferRunStateMachine()
433 handle->transfer.dataSize--; in I2C_MasterTransferRunStateMachine()
453 if (handle->transfer.dataSize == 1U) in I2C_MasterTransferRunStateMachine()
469 if (0U != (handle->transfer.dataSize--)) in I2C_MasterTransferRunStateMachine()
471 if (handle->transfer.dataSize == 0U) in I2C_MasterTransferRunStateMachine()
476 if (0U == (handle->transfer.flags & (uint32_t)kI2C_TransferNoStopFlag)) in I2C_MasterTransferRunStateMachine()
488 *handle->transfer.data = tmpdata; in I2C_MasterTransferRunStateMachine()
489 handle->transfer.data++; in I2C_MasterTransferRunStateMachine()
492 if (handle->transfer.dataSize != 0U) in I2C_MasterTransferRunStateMachine()
497 if (handle->transfer.dataSize == 1U) in I2C_MasterTransferRunStateMachine()
1560 if (handle->transfer.direction == kI2C_Read) in I2C_MasterTransferAbort()
1628 *count = handle->transferSize - handle->transfer.dataSize; in I2C_MasterTransferGetCount()
1656 …if ((0U == (handle->transfer.flags & (uint32_t)kI2C_TransferNoStopFlag)) || (result == kStatus_I2C… in I2C_MasterTransferHandleIRQ()
2056 (void)memset(&handle->transfer, 0, sizeof(handle->transfer)); in I2C_SlaveTransferNonBlocking()
2093 (void)memset(&handle->transfer, 0, sizeof(handle->transfer)); in I2C_SlaveTransferAbort()
2126 *count = handle->transfer.transferredCount; in I2C_SlaveTransferGetCount()
2148 xfer = &(handle->transfer); in I2C_SlaveTransferHandleIRQ()
2214 if (handle->transfer.dataSize != 0u) in I2C_SlaveTransferHandleIRQ()
2298 if (0U != (handle->transfer.dataSize)) in I2C_SlaveTransferHandleIRQ()
2301 *handle->transfer.data++ = data; in I2C_SlaveTransferHandleIRQ()
2302 handle->transfer.dataSize--; in I2C_SlaveTransferHandleIRQ()
2304 if (0U == handle->transfer.dataSize) in I2C_SlaveTransferHandleIRQ()
2345 if (0U != (handle->transfer.dataSize)) in I2C_SlaveTransferHandleIRQ()
2348 base->D = *handle->transfer.data++; in I2C_SlaveTransferHandleIRQ()
2349 handle->transfer.dataSize--; in I2C_SlaveTransferHandleIRQ()