Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpi2c/
Dfsl_lpi2c_edma.c208 size_t tmpRxSize = xfer->dataSize; in LPI2C_GenerateCommands() local
209 while (tmpRxSize != 0U) in LPI2C_GenerateCommands()
211 if (tmpRxSize > 256U) in LPI2C_GenerateCommands()
214 tmpRxSize -= 256U; in LPI2C_GenerateCommands()
218 … cmd[cmdCount++] = (uint16_t)kRxDataCmd | (uint16_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_GenerateCommands()
219 tmpRxSize = 0U; in LPI2C_GenerateCommands()
Dfsl_lpi2c.c863 size_t tmpRxSize = rxSize; in LPI2C_MasterStop() local
884 while (tmpRxSize != 0U) in LPI2C_MasterStop()
886 if (tmpRxSize > 256U) in LPI2C_MasterStop()
889 tmpRxSize -= 256U; in LPI2C_MasterStop()
893 base->MTDR = (uint32_t)(kRxDataCmd) | (uint32_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_MasterStop()
894 tmpRxSize = 0U; in LPI2C_MasterStop()
1198 size_t tmpRxSize = handle->transfer.dataSize; in LPI2C_TransferStateMachineSendCommand() local
1199 while (tmpRxSize != 0U) in LPI2C_TransferStateMachineSendCommand()
1211 if (tmpRxSize > 256U) in LPI2C_TransferStateMachineSendCommand()
1214 tmpRxSize -= 256U; in LPI2C_TransferStateMachineSendCommand()
[all …]