Home
last modified time | relevance | path

Searched refs:rxData (Results 1 – 25 of 92) sorted by relevance

1234

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lpflexcomm/lpspi/
Dfsl_lpspi.c76 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 …]
Dfsl_lpspi_edma.c59 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/
Dfsl_lpspi.c63 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 …]
Dfsl_lpspi_edma.c67 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/
Dfsl_flexio_spi.c134 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/
Dfsl_dspi.c898 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 …]
Dfsl_dspi_edma.c149 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/
Dfsl_spi.c530 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 …]
Dfsl_spi_dma.c306 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/
Dfsl_spi.c351 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/
Dfsl_spi.c123 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/
Dfsl_ecspi.c204 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/
Dfsl_flexio_uart.c449 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/
Dfsl_lpuart.c1648 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/
Duart_imx.c480 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/
Dfsl_adapter_flexcomm_spi.c221 transfer.rxData = xfer->rxData; in HAL_SpiMasterTransferBlocking()
238 transfer.rxData = xfer->rxData; in HAL_SpiMasterTransferNonBlocking()
293 transfer.rxData = xfer->rxData; in HAL_SpiSlaveTransferNonBlocking()
Dfsl_adapter_spi.c221 transfer.rxData = xfer->rxData; in HAL_SpiMasterTransferBlocking()
238 transfer.rxData = xfer->rxData; in HAL_SpiMasterTransferNonBlocking()
293 transfer.rxData = xfer->rxData; in HAL_SpiSlaveTransferNonBlocking()
Dfsl_adapter_dspi.c208 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/
Dfsl_component_serial_port_spi.c307 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/
Dfsl_usart.c742 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/
Dfsl_i2c.c136 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/
Dfsl_i2c.c40 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/
Dfsl_lcdic_dma.c184 …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/
Dfsl_usart.c943 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/
Dfsl_mipi_dsi_cmd.c233 …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()

1234