/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lpflexcomm/lpspi/ |
D | fsl_lpspi.c | 76 static void LPSPI_SeparateReadData(uint8_t *rxData, uint32_t readData, uint8_t bytesEachRead, bool … 847 if ((NULL == (transfer->txData)) && (NULL == (transfer->rxData))) 886 if ((transfer->txData != NULL) && (transfer->rxData != NULL)) 945 uint8_t *rxData = transfer->rxData; local 989 …SPI_TCR_CONT(isPcsContinuous) | LPSPI_TCR_CONTC(isPcsContinuous) | LPSPI_TCR_RXMSK(NULL == rxData); 1033 if (((NULL == rxData) || (rxRemainingByteCount - txRemainingByteCount) < rxFifoMaxBytes)) 1064 if ((rxData != NULL) && (rxRemainingByteCount != 0U)) 1084 LPSPI_SeparateReadData(rxData, readData, bytesEachRead, isByteSwap); 1085 rxData += bytesEachRead; 1121 if (rxData != NULL) [all …]
|
D | fsl_lpspi_edma.c | 59 static void LPSPI_SeparateEdmaReadData(uint8_t *rxData, uint32_t readData, uint32_t bytesEachRead, … 74 static void LPSPI_SeparateEdmaReadData(uint8_t *rxData, uint32_t readData, uint32_t bytesEachRead, … in LPSPI_SeparateEdmaReadData() argument 76 assert(rxData != NULL); in LPSPI_SeparateEdmaReadData() 83 *rxData = (uint8_t)readData; in LPSPI_SeparateEdmaReadData() 84 ++rxData; in LPSPI_SeparateEdmaReadData() 88 *rxData = (uint8_t)(readData >> 24); in LPSPI_SeparateEdmaReadData() 89 ++rxData; in LPSPI_SeparateEdmaReadData() 96 *rxData = (uint8_t)readData; in LPSPI_SeparateEdmaReadData() 97 ++rxData; in LPSPI_SeparateEdmaReadData() 98 *rxData = (uint8_t)(readData >> 8); in LPSPI_SeparateEdmaReadData() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lpspi/ |
D | fsl_lpspi.c | 63 uint8_t *rxData; member 103 static void LPSPI_SeparateReadData(uint8_t *rxData, uint32_t readData, uint8_t bytesEachRead, bool … 895 if ((NULL == (transfer->txData)) && (NULL == (transfer->rxData))) 934 if ((transfer->txData != NULL) && (transfer->rxData != NULL)) 986 if (((NULL == (stateParams->rxData)) || 1038 if (((stateParams->rxData) != NULL) && ((stateParams->rxRemainingByteCount) != 0U)) 1063 … LPSPI_SeparateReadData((stateParams->rxData), readData, (stateParams->bytesEachRead), isByteSwap); 1064 (stateParams->rxData) += (stateParams->bytesEachRead); 1122 … LPSPI_SeparateReadData((stateParams->rxData), readData, (stateParams->bytesEachRead), isByteSwap); 1123 (stateParams->rxData) += (stateParams->bytesEachRead); [all …]
|
D | fsl_lpspi_edma.c | 67 static void LPSPI_SeparateEdmaReadData(uint8_t *rxData, uint32_t readData, uint32_t bytesEachRead, … 82 static void LPSPI_SeparateEdmaReadData(uint8_t *rxData, uint32_t readData, uint32_t bytesEachRead, … in LPSPI_SeparateEdmaReadData() argument 84 assert(rxData != NULL); in LPSPI_SeparateEdmaReadData() 95 *rxData = (uint8_t)readData; in LPSPI_SeparateEdmaReadData() 96 ++rxData; in LPSPI_SeparateEdmaReadData() 100 *rxData = (uint8_t)(readData >> 24); in LPSPI_SeparateEdmaReadData() 101 ++rxData; in LPSPI_SeparateEdmaReadData() 108 *rxData = (uint8_t)readData; in LPSPI_SeparateEdmaReadData() 109 ++rxData; in LPSPI_SeparateEdmaReadData() 110 *rxData = (uint8_t)(readData >> 8); in LPSPI_SeparateEdmaReadData() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexio/spi/ |
D | fsl_flexio_spi.c | 134 if (handle->rxData != NULL) in FLEXIO_SPI_TransferReceiveTransaction() 138 *handle->rxData = (uint8_t)tmpData; in FLEXIO_SPI_TransferReceiveTransaction() 144 *handle->rxData = (uint8_t)(tmpData >> 8); in FLEXIO_SPI_TransferReceiveTransaction() 145 handle->rxData++; in FLEXIO_SPI_TransferReceiveTransaction() 146 *handle->rxData = (uint8_t)tmpData; in FLEXIO_SPI_TransferReceiveTransaction() 150 *handle->rxData = (uint8_t)tmpData; in FLEXIO_SPI_TransferReceiveTransaction() 151 handle->rxData++; in FLEXIO_SPI_TransferReceiveTransaction() 152 *handle->rxData = (uint8_t)(tmpData >> 8); in FLEXIO_SPI_TransferReceiveTransaction() 159 *handle->rxData = (uint8_t)(tmpData >> 24U); in FLEXIO_SPI_TransferReceiveTransaction() 160 handle->rxData++; in FLEXIO_SPI_TransferReceiveTransaction() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/dspi/ |
D | fsl_dspi.c | 898 uint8_t *rxData; in DSPI_MasterTransferBlocking() local 937 rxData = transfer->rxData; in DSPI_MasterTransferBlocking() 981 if (rxData != NULL) in DSPI_MasterTransferBlocking() 984 *(rxData) = (uint8_t)DSPI_ReadData(base); in DSPI_MasterTransferBlocking() 985 rxData++; in DSPI_MasterTransferBlocking() 1022 if (rxData != NULL) in DSPI_MasterTransferBlocking() 1024 *(rxData) = (uint8_t)DSPI_ReadData(base); in DSPI_MasterTransferBlocking() 1025 rxData++; in DSPI_MasterTransferBlocking() 1080 if (rxData != NULL) in DSPI_MasterTransferBlocking() 1082 *(rxData) = (uint8_t)wordReceived; in DSPI_MasterTransferBlocking() [all …]
|
D | fsl_dspi_edma.c | 149 if ((NULL == (transfer->txData)) && (NULL == (transfer->rxData))) in DSPI_MasterTransferEDMA() 211 handle->rxData = transfer->rxData; in DSPI_MasterTransferEDMA() 430 if (NULL != handle->rxData) in DSPI_MasterTransferEDMA() 432 transferConfigA.destAddr = (uint32_t) & (handle->rxData[0]); in DSPI_MasterTransferEDMA() 964 tempXfer.rxData = NULL; in DSPI_MasterHalfDuplexTransferEDMA() 970 tempXfer.rxData = xfer->rxData; in DSPI_MasterHalfDuplexTransferEDMA() 992 tempXfer.rxData = xfer->rxData; in DSPI_MasterHalfDuplexTransferEDMA() 998 tempXfer.rxData = NULL; in DSPI_MasterHalfDuplexTransferEDMA() 1163 if ((NULL == (transfer->txData)) && (NULL == (transfer->rxData))) in DSPI_SlaveTransferEDMA() 1201 handle->rxData = transfer->rxData; in DSPI_SlaveTransferEDMA() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexcomm/spi/ |
D | fsl_spi.c | 530 uint8_t *rxData; in SPI_MasterTransferBlocking() local 537 … assert(!((NULL == base) || (NULL == xfer) || ((NULL == xfer->txData) && (NULL == xfer->rxData)))); in SPI_MasterTransferBlocking() 538 if ((NULL == base) || (NULL == xfer) || ((NULL == xfer->txData) && (NULL == xfer->rxData))) in SPI_MasterTransferBlocking() 545 rxData = xfer->rxData; in SPI_MasterTransferBlocking() 547 rxRemainingBytes = (rxData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferBlocking() 585 *(rxData++) = (uint8_t)tmp32; in SPI_MasterTransferBlocking() 590 *(rxData++) = (uint8_t)(tmp32 >> 8); in SPI_MasterTransferBlocking() 665 …ase) || (NULL == handle) || (NULL == xfer) || ((NULL == xfer->txData) && (NULL == xfer->rxData)))); in SPI_MasterTransferNonBlocking() 666 … base) || (NULL == handle) || (NULL == xfer) || ((NULL == xfer->txData) && (NULL == xfer->rxData))) in SPI_MasterTransferNonBlocking() 686 handle->rxData = xfer->rxData; in SPI_MasterTransferNonBlocking() [all …]
|
D | fsl_spi_dma.c | 306 if (xfer->rxData != NULL) in SPI_MasterTransferDMA() 308 handle->rxEndData = xfer->rxData + xfer->dataSize; in SPI_MasterTransferDMA() 309 … DMA_PrepareTransfer(&xferConfig, (uint32_t *)address, xfer->rxData, bytesPerFrame, firstTimeSize, in SPI_MasterTransferDMA() 311 handle->rxNextData = xfer->rxData + firstTimeSize; in SPI_MasterTransferDMA() 468 tempXfer.rxData = NULL; in SPI_MasterHalfDuplexTransferDMA() 474 tempXfer.rxData = xfer->rxData; in SPI_MasterHalfDuplexTransferDMA() 496 tempXfer.rxData = xfer->rxData; in SPI_MasterHalfDuplexTransferDMA() 502 tempXfer.rxData = NULL; in SPI_MasterHalfDuplexTransferDMA()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/spi/ |
D | fsl_spi.c | 351 SPI_ReadNonBlocking(base, handle->rxData, bytes); in SPI_ReceiveTransfer() 354 if (handle->rxData != NULL) in SPI_ReceiveTransfer() 356 handle->rxData += bytes; in SPI_ReceiveTransfer() 368 SPI_ReadNonBlocking(base, handle->rxData, bytes); in SPI_ReceiveTransfer() 371 if (handle->rxData != NULL) in SPI_ReceiveTransfer() 373 handle->rxData += bytes; in SPI_ReceiveTransfer() 924 if ((xfer->txData == NULL) && (xfer->rxData == NULL)) in SPI_MasterTransferBlocking() 984 SPI_ReadNonBlocking(base, xfer->rxData, bytesPerFrame); in SPI_MasterTransferBlocking() 985 if (xfer->rxData != NULL) in SPI_MasterTransferBlocking() 987 xfer->rxData += bytesPerFrame; in SPI_MasterTransferBlocking() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lpc_minispi/ |
D | fsl_spi.c | 123 if ((handle->rxData) != NULL) in SPI_ReceiveTransfer() 125 *(handle->rxData++) = (uint8_t)tmp32; in SPI_ReceiveTransfer() 129 *(handle->rxData++) = (uint8_t)(tmp32 >> 8U); in SPI_ReceiveTransfer() 463 … assert(!((NULL == base) || (NULL == xfer) || ((NULL == xfer->txData) && (NULL == xfer->rxData)))); in SPI_MasterTransferBlocking() 476 if (NULL == xfer->rxData) in SPI_MasterTransferBlocking() 559 if (xfer->rxData != NULL) in SPI_MasterTransferBlocking() 561 *(xfer->rxData++) = (uint8_t)tmp32; in SPI_MasterTransferBlocking() 564 *(xfer->rxData++) = (uint8_t)(tmp32 >> 8U); in SPI_MasterTransferBlocking() 669 …ase) || (NULL == handle) || (NULL == xfer) || ((NULL == xfer->txData) && (NULL == xfer->rxData)))); in SPI_MasterTransferNonBlocking() 687 handle->rxData = xfer->rxData; in SPI_MasterTransferNonBlocking() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/ecspi/ |
D | fsl_ecspi.c | 204 ECSPI_ReadNonBlocking(base, handle->rxData, dataCounts); in ECSPI_ReceiveTransfer() 205 if (NULL != handle->rxData) in ECSPI_ReceiveTransfer() 207 handle->rxData += dataCounts; in ECSPI_ReceiveTransfer() 660 if ((xfer->txData == NULL) && (xfer->rxData == NULL)) in ECSPI_MasterTransferBlocking() 692 state = ECSPI_ReadBlocking(base, xfer->rxData, dataCounts); in ECSPI_MasterTransferBlocking() 697 if (NULL != xfer->rxData) in ECSPI_MasterTransferBlocking() 699 xfer->rxData += dataCounts; in ECSPI_MasterTransferBlocking() 732 if (((xfer->txData == NULL) && (xfer->rxData == NULL)) || (xfer->dataSize == 0U)) in ECSPI_MasterTransferNonBlocking() 740 handle->rxData = xfer->rxData; in ECSPI_MasterTransferNonBlocking() 759 if (NULL != xfer->rxData) in ECSPI_MasterTransferNonBlocking() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexio/uart/ |
D | fsl_flexio_uart.c | 449 status_t FLEXIO_UART_ReadBlocking(FLEXIO_UART_Type *base, uint8_t *rxData, size_t rxSize) in FLEXIO_UART_ReadBlocking() argument 451 assert(rxData != NULL); in FLEXIO_UART_ReadBlocking() 476 *rxData++ = (uint8_t)(base->flexioBase->SHIFTBUFBYS[base->shifterIndex[1]]); in FLEXIO_UART_ReadBlocking() 724 if ((0U == xfer->dataSize) || (NULL == xfer->rxData)) in FLEXIO_UART_TransferReceiveNonBlocking() 766 … xfer->rxData[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in FLEXIO_UART_TransferReceiveNonBlocking() 784 handle->rxData = xfer->rxData + bytesCurrentReceived; in FLEXIO_UART_TransferReceiveNonBlocking() 805 handle->rxData = xfer->rxData + bytesCurrentReceived; in FLEXIO_UART_TransferReceiveNonBlocking() 912 FLEXIO_UART_ReadByte(base, handle->rxData); in FLEXIO_UART_TransferHandleIRQ() 914 handle->rxData++; in FLEXIO_UART_TransferHandleIRQ()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lpflexcomm/lpuart/ |
D | fsl_lpuart.c | 1648 assert(NULL != xfer->rxData); in LPUART_TransferReceiveNonBlocking() 1702 … xfer->rxData[bytesCurrentReceived] = handle->rxRingBuffer[handle->rxRingBufferTail]; in LPUART_TransferReceiveNonBlocking() 1721 handle->rxData = &xfer->rxData[bytesCurrentReceived]; in LPUART_TransferReceiveNonBlocking() 1746 handle->rxData = &xfer->rxData[bytesCurrentReceived]; in LPUART_TransferReceiveNonBlocking() 1880 LPUART_ReadNonBlocking(base, handle->rxData, tempCount); in LPUART_TransferHandleIRQ() 1881 handle->rxData = &handle->rxData[tempCount]; in LPUART_TransferHandleIRQ() 1885 LPUART_ReadNonBlocking16bit(base, (uint16_t *)handle->rxData, tempCount); in LPUART_TransferHandleIRQ() 1886 handle->rxData = &handle->rxData[tempCount * 2]; in LPUART_TransferHandleIRQ() 1948 LPUART_ReadNonBlocking(base, handle->rxData, tempCount); in LPUART_TransferHandleIRQ() 1949 handle->rxData = &handle->rxData[tempCount]; in LPUART_TransferHandleIRQ() [all …]
|
/hal_nxp-3.7.0/imx/drivers/ |
D | uart_imx.c | 480 uint16_t rxData = UART_URXD_REG(base); in UART_Getchar9() local 482 if (rxData & UART_URXD_PRERR_MASK) in UART_Getchar9() 484 rxData = (rxData & 0x00FF) | 0x0100; in UART_Getchar9() 488 rxData &= 0x00FF; in UART_Getchar9() 491 return rxData; in UART_Getchar9()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/spi/ |
D | fsl_adapter_flexcomm_spi.c | 221 transfer.rxData = xfer->rxData; in HAL_SpiMasterTransferBlocking() 238 transfer.rxData = xfer->rxData; in HAL_SpiMasterTransferNonBlocking() 293 transfer.rxData = xfer->rxData; in HAL_SpiSlaveTransferNonBlocking()
|
D | fsl_adapter_spi.c | 221 transfer.rxData = xfer->rxData; in HAL_SpiMasterTransferBlocking() 238 transfer.rxData = xfer->rxData; in HAL_SpiMasterTransferNonBlocking() 293 transfer.rxData = xfer->rxData; in HAL_SpiSlaveTransferNonBlocking()
|
D | fsl_adapter_dspi.c | 208 transfer.rxData = xfer->rxData; in HAL_SpiMasterTransferBlocking() 226 transfer.rxData = xfer->rxData; in HAL_SpiMasterTransferNonBlocking() 282 transfer.rxData = xfer->rxData; in HAL_SpiSlaveTransferNonBlocking()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/serial_manager/ |
D | fsl_component_serial_port_spi.c | 307 mastetTransfer.rxData = NULL; in Serial_SpiMasterWrite() 334 slaveTransfer.rxData = NULL; in Serial_SpiSlaveWrite() 363 masterReceiver.rxData = buffer; in Serial_SpiMasterRead() 390 slaveReceiver.rxData = buffer; in Serial_SpiSlaveRead() 410 mastetTransfer.rxData = NULL; in Serial_SpiMasterWrite() 427 masterReceiver.rxData = buffer; in Serial_SpiMasterRead() 445 slaveTransfer.rxData = NULL; 462 slaveReceiver.rxData = buffer;
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lpc_miniusart/ |
D | fsl_usart.c | 742 assert(!((0U == xfer->dataSize) || (NULL == xfer->rxData))); in USART_TransferReceiveNonBlocking() 774 … xfer->rxData[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in USART_TransferReceiveNonBlocking() 790 handle->rxData = xfer->rxData + bytesCurrentReceived; in USART_TransferReceiveNonBlocking() 809 handle->rxData = xfer->rxData + bytesCurrentReceived; in USART_TransferReceiveNonBlocking() 928 *handle->rxData = tmpdata; in USART_TransferHandleIRQ() 930 handle->rxData++; in USART_TransferHandleIRQ()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexcomm/i2c/ |
D | fsl_i2c.c | 136 void *rxData, 1389 ((handle->transfer.rxData != NULL) && (rxSize != 0U))) in I2C_SlaveInvokeEvent() 1439 if ((handle->transfer.rxData == NULL) || (rxSize == 0U)) in I2C_SlaveAddressIRQ() 1446 if ((handle->transfer.rxData == NULL) || (rxSize == 0U)) in I2C_SlaveAddressIRQ() 1466 void *rxData, in I2C_SlaveTransferNonBlockingInternal() argument 1491 handle->transfer.rxData = (uint8_t *)rxData; in I2C_SlaveTransferNonBlockingInternal() 1564 …I2C_Type *base, volatile i2c_slave_transfer_t *transfer, void *rxData, size_t rxSize, uint32_t eve… in I2C_SlaveSetReceiveBuffer() argument 1566 …return I2C_SlaveTransferNonBlockingInternal(base, transfer->handle, NULL, 0u, rxData, rxSize, even… in I2C_SlaveSetReceiveBuffer() 2034 if ((handle->transfer.rxData == NULL) || (rxSize == 0U)) in I2C_SlaveTransferHandleIRQ() 2041 if ((handle->transfer.rxData != NULL) && (rxSize != 0U)) in I2C_SlaveTransferHandleIRQ() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lpc_i2c/ |
D | fsl_i2c.c | 40 void *rxData, 1178 ((handle->transfer.rxData != NULL) && (rxSize != 0U))) in I2C_SlaveInvokeEvent() 1237 if ((handle->transfer.rxData == NULL) || (rxSize == 0U)) in I2C_SlaveAddressIRQ() 1244 if ((handle->transfer.rxData == NULL) || (rxSize == 0U)) in I2C_SlaveAddressIRQ() 1283 void *rxData, in I2C_SlaveTransferNonBlockingInternal() argument 1305 handle->transfer.rxData = (uint8_t *)rxData; in I2C_SlaveTransferNonBlockingInternal() 1378 …I2C_Type *base, volatile i2c_slave_transfer_t *transfer, void *rxData, size_t rxSize, uint32_t eve… in I2C_SlaveSetReceiveBuffer() argument 1380 …return I2C_SlaveTransferNonBlockingInternal(base, transfer->handle, NULL, 0U, rxData, rxSize, even… in I2C_SlaveSetReceiveBuffer() 1871 if ((handle->transfer.rxData == NULL) || (rxSize == 0U)) in I2C_SlaveTransferHandleIRQ() 1878 if ((handle->transfer.rxData != NULL) && (rxSize != 0U)) in I2C_SlaveTransferHandleIRQ() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lcdic/ |
D | fsl_lcdic_dma.c | 184 …dmaDesc->dstEndAddr = DMA_DESCRIPTOR_END_ADDRESS(handle->rxData, 1U, LCDIC_MAX_DMA_XFER_COUNT, 4U); in LCDIC_TransferSubmitRxDataDMA() 222 … dmaDesc->dstEndAddr = DMA_DESCRIPTOR_END_ADDRESS(handle->rxData, 1U, xferSizeWordAligned, 4U); in LCDIC_TransferSubmitRxDataDMA() 250 … LCDIC_ExtractByteFromWord(handle->tmpData, handle->rxData, handle->rxSizeWordUnaligned); in LCDIC_TransferSubmitRxDataDMA() 455 if (0U != (0x03U & (uint32_t)xfer->rxData)) in LCDIC_TransferReceiveDataArrayDMA() 466 handle->rxData = xfer->rxData; in LCDIC_TransferReceiveDataArrayDMA()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexcomm/usart/ |
D | fsl_usart.c | 943 assert(!((0U == xfer->dataSize) || (NULL == xfer->rxData))); in USART_TransferReceiveNonBlocking() 944 if ((0U == xfer->dataSize) || (NULL == xfer->rxData)) in USART_TransferReceiveNonBlocking() 988 … xfer->rxData[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in USART_TransferReceiveNonBlocking() 1004 handle->rxData = xfer->rxData + bytesCurrentReceived; in USART_TransferReceiveNonBlocking() 1027 handle->rxData = xfer->rxData + bytesCurrentReceived; in USART_TransferReceiveNonBlocking() 1192 *handle->rxData = rxdata; in USART_TransferHandleIRQ() 1194 handle->rxData++; in USART_TransferHandleIRQ()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/video/display/mipi_dsi_cmd/ |
D | fsl_mipi_dsi_cmd.c | 233 …mipi_dsi_device_t *device, const uint8_t *txData, int32_t txDataSize, uint8_t *rxData, int32_t *rx… in MIPI_DSI_GenericRead() argument 242 dsiXfer.rxData = rxData; in MIPI_DSI_GenericRead() 271 status_t MIPI_DSI_ReadCMD(mipi_dsi_device_t *device, enum _mipi_dcs dcsCmd, uint8_t *rxData, int32_… in MIPI_DSI_ReadCMD() argument 279 status = MIPI_DSI_GenericRead(device, txData, 1, rxData, rxDataSize); in MIPI_DSI_ReadCMD()
|