Searched refs:cmdCount (Results 1 – 4 of 4) sorted by relevance
162 uint32_t cmdCount = 0; in LPI2C_GenerateCommands() local170 cmd[cmdCount++] = (uint16_t)kRxDataCmd | (uint16_t)LPI2C_MTDR_DATA(xfer->dataSize - 1U); in LPI2C_GenerateCommands()182 cmd[cmdCount++] = in LPI2C_GenerateCommands()192 cmd[cmdCount++] = subaddressByte; in LPI2C_GenerateCommands()202 cmd[cmdCount++] = (uint16_t)kStartCmd | in LPI2C_GenerateCommands()213 cmd[cmdCount++] = (uint16_t)kRxDataCmd | (uint16_t)LPI2C_MTDR_DATA(0xFFU); in LPI2C_GenerateCommands()218 … cmd[cmdCount++] = (uint16_t)kRxDataCmd | (uint16_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_GenerateCommands()225 return cmdCount; in LPI2C_GenerateCommands()
1025 uint32_t cmdCount = 0U; in LPI2C_MasterTransferBlocking() local1055 commandBuffer[cmdCount++] = in LPI2C_MasterTransferBlocking()1067 commandBuffer[cmdCount++] = subaddressByte; in LPI2C_MasterTransferBlocking()1077 commandBuffer[cmdCount++] = in LPI2C_MasterTransferBlocking()1085 while (0U != cmdCount--) in LPI2C_MasterTransferBlocking()1504 uint32_t cmdCount = 0U; in LPI2C_InitTransferStateMachine() local1511 cmd[cmdCount++] = in LPI2C_InitTransferStateMachine()1521 cmd[cmdCount++] = subaddressByte; in LPI2C_InitTransferStateMachine()1531 cmd[cmdCount++] = (uint16_t)kStartCmd | in LPI2C_InitTransferStateMachine()1538 handle->remainingBytes = (uint16_t)cmdCount; in LPI2C_InitTransferStateMachine()
169 uint32_t cmdCount = 0; in LPI2C_GenerateCommands() local177 cmd[cmdCount++] = (uint16_t)kRxDataCmd | (uint16_t)LPI2C_MTDR_DATA(xfer->dataSize - 1U); in LPI2C_GenerateCommands()189 cmd[cmdCount++] = in LPI2C_GenerateCommands()199 cmd[cmdCount++] = subaddressByte; in LPI2C_GenerateCommands()209 cmd[cmdCount++] = (uint16_t)kStartCmd | in LPI2C_GenerateCommands()220 cmd[cmdCount++] = (uint16_t)kRxDataCmd | (uint16_t)LPI2C_MTDR_DATA(0xFFU); in LPI2C_GenerateCommands()225 … cmd[cmdCount++] = (uint16_t)kRxDataCmd | (uint16_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_GenerateCommands()232 return cmdCount; in LPI2C_GenerateCommands()
933 uint32_t cmdCount = 0U; in LPI2C_MasterTransferBlocking() local955 commandBuffer[cmdCount++] = in LPI2C_MasterTransferBlocking()967 commandBuffer[cmdCount++] = subaddressByte; in LPI2C_MasterTransferBlocking()977 commandBuffer[cmdCount++] = in LPI2C_MasterTransferBlocking()985 while (0U != cmdCount--) in LPI2C_MasterTransferBlocking()1363 uint32_t cmdCount = 0U; in LPI2C_InitTransferStateMachine() local1370 cmd[cmdCount++] = in LPI2C_InitTransferStateMachine()1380 cmd[cmdCount++] = subaddressByte; in LPI2C_InitTransferStateMachine()1390 cmd[cmdCount++] = (uint16_t)kStartCmd | in LPI2C_InitTransferStateMachine()1397 handle->remainingBytes = (uint16_t)cmdCount; in LPI2C_InitTransferStateMachine()