Searched refs:tmpRxSize (Results 1 – 4 of 4) sorted by relevance
208 size_t tmpRxSize = xfer->dataSize; in LPI2C_GenerateCommands() local209 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()
883 size_t tmpRxSize = rxSize; in LPI2C_MasterStop() local904 while (tmpRxSize != 0U) in LPI2C_MasterStop()906 if (tmpRxSize > 256U) in LPI2C_MasterStop()909 tmpRxSize -= 256U; in LPI2C_MasterStop()913 base->MTDR = (uint32_t)(kRxDataCmd) | (uint32_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_MasterStop()914 tmpRxSize = 0U; in LPI2C_MasterStop()1227 size_t tmpRxSize = handle->transfer.dataSize; in LPI2C_TransferStateMachineSendCommand() local1228 while (tmpRxSize != 0U) in LPI2C_TransferStateMachineSendCommand()1240 if (tmpRxSize > 256U) in LPI2C_TransferStateMachineSendCommand()1243 tmpRxSize -= 256U; in LPI2C_TransferStateMachineSendCommand()[all …]
215 size_t tmpRxSize = xfer->dataSize; in LPI2C_GenerateCommands() local216 while (tmpRxSize != 0U) in LPI2C_GenerateCommands()218 if (tmpRxSize > 256U) in LPI2C_GenerateCommands()221 tmpRxSize -= 256U; in LPI2C_GenerateCommands()225 … cmd[cmdCount++] = (uint16_t)kRxDataCmd | (uint16_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_GenerateCommands()226 tmpRxSize = 0U; in LPI2C_GenerateCommands()
790 size_t tmpRxSize = rxSize; in LPI2C_MasterStop() local811 while (tmpRxSize != 0U) in LPI2C_MasterStop()813 if (tmpRxSize > 256U) in LPI2C_MasterStop()816 tmpRxSize -= 256U; in LPI2C_MasterStop()820 base->MTDR = (uint32_t)(kRxDataCmd) | (uint32_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_MasterStop()821 tmpRxSize = 0U; in LPI2C_MasterStop()1193 size_t tmpRxSize = xfer->dataSize; in LPI2C_RunTransferStateMachine() local1194 while (tmpRxSize != 0U) in LPI2C_RunTransferStateMachine()1202 if (tmpRxSize > 256U) in LPI2C_RunTransferStateMachine()1205 tmpRxSize -= 256U; in LPI2C_RunTransferStateMachine()[all …]