Lines Matching refs:transfer

99     if (0U == (i2cPrivateHandle->handle->transfer.flags & (uint32_t)kI2C_TransferNoStopFlag))  in I2C_MasterTransferCallbackEDMA()
101 if (i2cPrivateHandle->handle->transfer.direction == kI2C_Read) in I2C_MasterTransferCallbackEDMA()
116 …ze = i2cPrivateHandle->handle->transfer.dataSize; in I2C_MasterTransferCallbackEDMA()
117 *(i2cPrivateHandle->handle->transfer.data + tmpdataSize - 1U) = tmpReg; in I2C_MasterTransferCallbackEDMA()
132 if (i2cPrivateHandle->handle->transfer.direction == kI2C_Read) in I2C_MasterTransferCallbackEDMA()
147 …ze = i2cPrivateHandle->handle->transfer.dataSize; in I2C_MasterTransferCallbackEDMA()
148 *(i2cPrivateHandle->handle->transfer.data + tmpdataSize - 1U) = tmpReg; in I2C_MasterTransferCallbackEDMA()
203 handle->transfer = *xfer; in I2C_InitTransferStateMachineEDMA()
220 if (0U != (handle->transfer.flags & (uint32_t)kI2C_TransferRepeatedStartFlag)) in I2C_InitTransferStateMachineEDMA()
222 result = I2C_MasterRepeatedStart(base, handle->transfer.slaveAddress, direction); in I2C_InitTransferStateMachineEDMA()
226 result = I2C_MasterStart(base, handle->transfer.slaveAddress, direction); in I2C_InitTransferStateMachineEDMA()
275 if (0U != handle->transfer.subaddressSize) in I2C_InitTransferStateMachineEDMA()
282 handle->transfer.subaddressSize--; in I2C_InitTransferStateMachineEDMA()
283 … base->D = (uint8_t)((handle->transfer.subaddress) >> (8U * handle->transfer.subaddressSize)); in I2C_InitTransferStateMachineEDMA()
310 } while (handle->transfer.subaddressSize > 0U); in I2C_InitTransferStateMachineEDMA()
312 if (handle->transfer.direction == kI2C_Read) in I2C_InitTransferStateMachineEDMA()
318 result = I2C_MasterRepeatedStart(base, handle->transfer.slaveAddress, kI2C_Read); in I2C_InitTransferStateMachineEDMA()
363 if (handle->transfer.direction == kI2C_Read) in I2C_MasterTransferEDMAConfig()
366 transfer_config.destAddr = (uint32_t)(handle->transfer.data); in I2C_MasterTransferEDMAConfig()
367 transfer_config.majorLoopCounts = (handle->transfer.dataSize - 1U); in I2C_MasterTransferEDMAConfig()
376 transfer_config.srcAddr = ((uint32_t)handle->transfer.data + 1U); in I2C_MasterTransferEDMAConfig()
378 transfer_config.majorLoopCounts = (handle->transfer.dataSize - 1U); in I2C_MasterTransferEDMAConfig()
477 if (handle->transfer.dataSize > 1U) in I2C_MasterTransferEDMA()
480 if (handle->transfer.direction == kI2C_Read) in I2C_MasterTransferEDMA()
497 base->D = *handle->transfer.data; in I2C_MasterTransferEDMA()
502 if (handle->transfer.direction == kI2C_Read) in I2C_MasterTransferEDMA()
519 base->D = *handle->transfer.data; in I2C_MasterTransferEDMA()
543 if (0U == (handle->transfer.flags & (uint32_t)kI2C_TransferNoStopFlag)) in I2C_MasterTransferEDMA()
554 if (handle->transfer.direction == kI2C_Read) in I2C_MasterTransferEDMA()
557 *handle->transfer.data = tmpReg; in I2C_MasterTransferEDMA()