Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpi2c/
Dfsl_lpi2c_edma.c162 uint32_t cmdCount = 0; in LPI2C_GenerateCommands() local
170 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()
Dfsl_lpi2c.c1005 uint32_t cmdCount = 0U; in LPI2C_MasterTransferBlocking() local
1035 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() local
1482 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()