Searched refs:cmdCount (Results 1 – 2 of 2) 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()
1005 uint32_t cmdCount = 0U; in LPI2C_MasterTransferBlocking() local1035 commandBuffer[cmdCount++] = in LPI2C_MasterTransferBlocking()1047 commandBuffer[cmdCount++] = subaddressByte; in LPI2C_MasterTransferBlocking()1057 commandBuffer[cmdCount++] = in LPI2C_MasterTransferBlocking()1065 while (0U != cmdCount--) in LPI2C_MasterTransferBlocking()1475 uint32_t cmdCount = 0U; in LPI2C_InitTransferStateMachine() local1482 cmd[cmdCount++] = in LPI2C_InitTransferStateMachine()1492 cmd[cmdCount++] = subaddressByte; in LPI2C_InitTransferStateMachine()1502 cmd[cmdCount++] = (uint16_t)kStartCmd | in LPI2C_InitTransferStateMachine()1509 handle->remainingBytes = (uint16_t)cmdCount; in LPI2C_InitTransferStateMachine()