/hal_nxp-3.5.0/mcux/mcux-sdk/components/serial_manager/ |
D | fsl_component_serial_port_rpmsg.c | 58 serial_rpmsg_recv_state_t rx; member 88 if ((NULL != serialRpmsgHandle->rx.callback)) in Serial_RpmsgRxCallback() 92 … serialRpmsgHandle->rx.callback(serialRpmsgHandle->rx.param, &msg, kStatus_SerialManager_Success); in Serial_RpmsgRxCallback() 96 if (NULL != serialRpmsgHandle->rx.data) in Serial_RpmsgRxCallback() 98 bytes = (len <= (serialRpmsgHandle->rx.len - serialRpmsgHandle->rx.sofar)) ? in Serial_RpmsgRxCallback() 100 (serialRpmsgHandle->rx.len - serialRpmsgHandle->rx.sofar); in Serial_RpmsgRxCallback() 102 … (void)memcpy((uint8_t *)&serialRpmsgHandle->rx.data[serialRpmsgHandle->rx.sofar], data, bytes); in Serial_RpmsgRxCallback() 103 serialRpmsgHandle->rx.sofar += bytes; in Serial_RpmsgRxCallback() 104 if (serialRpmsgHandle->rx.len == serialRpmsgHandle->rx.sofar) in Serial_RpmsgRxCallback() 106 serialRpmsgHandle->rx.data = NULL; in Serial_RpmsgRxCallback() [all …]
|
D | fsl_component_serial_port_uart.c | 76 serial_uart_recv_state_t rx; member 88 serial_uart_dma_recv_state_t rx; member 108 if (1U == serialUartHandle->rx.rxEnable) in Serial_UartEnableReceiving() 110 serialUartHandle->rx.busy = 1U; in Serial_UartEnableReceiving() 112 transfer.data = &serialUartHandle->rx.readBuffer[0]; in Serial_UartEnableReceiving() 113 transfer.dataSize = sizeof(serialUartHandle->rx.readBuffer); in Serial_UartEnableReceiving() 119 … &serialUartHandle->rx.readBuffer[0], sizeof(serialUartHandle->rx.readBuffer))) in Serial_UartEnableReceiving() 122 serialUartHandle->rx.busy = 0U; in Serial_UartEnableReceiving() 145 if ((NULL != serialUartHandle->rx.callback)) in Serial_UartCallback() 147 serialMsg.buffer = &serialUartHandle->rx.readBuffer[0]; in Serial_UartCallback() [all …]
|
D | fsl_component_serial_port_spi.c | 60 serial_spi_master_recv_state_t rx; member 86 serial_spi_slave_recv_state_t rx; member 128 msg.buffer = serialSpiMasterHandle->rx.buffer; in Serial_SpiMasterRxCallback() 129 msg.length = serialSpiMasterHandle->rx.length; in Serial_SpiMasterRxCallback() 130 if (NULL != serialSpiMasterHandle->rx.callback) in Serial_SpiMasterRxCallback() 132 …serialSpiMasterHandle->rx.callback(serialSpiMasterHandle->rx.callbackParam, &msg, serialManagerSta… in Serial_SpiMasterRxCallback() 163 msg.buffer = serialSpiSlaveHandle->rx.buffer; in Serial_SpiSlaveRxCallback() 164 msg.length = serialSpiSlaveHandle->rx.length; in Serial_SpiSlaveRxCallback() 165 if (NULL != serialSpiSlaveHandle->rx.callback) in Serial_SpiSlaveRxCallback() 167 …serialSpiSlaveHandle->rx.callback(serialSpiSlaveHandle->rx.callbackParam, &msg, serialManagerStatu… in Serial_SpiSlaveRxCallback() [all …]
|
D | fsl_component_serial_port_virtual.c | 61 serial_port_virtual_recv_state_t rx; member 186 if (NULL != serialPortVirtual->rx.callback) in Serial_PortVirtualRxCallback() 188 serialPortVirtual->rx.callback(serialPortVirtual->rx.callbackParam, message, status); in Serial_PortVirtualRxCallback() 382 serialPortVirtual->rx.callback = callback; in Serial_PortVirtualInstallRxCallback() 383 serialPortVirtual->rx.callbackParam = callbackParam; in Serial_PortVirtualInstallRxCallback()
|
D | fsl_component_serial_port_usb.c | 121 serial_usb_recv_state_t rx; member 351 serialUsbCdc->rx.busy = 0U; in USB_DeviceCdcVcomCallback() 356 if ((NULL != serialUsbCdc->rx.callback)) in USB_DeviceCdcVcomCallback() 366 serialUsbCdc->rx.callback(serialUsbCdc->rx.callbackParam, &msg, callbackStatus); in USB_DeviceCdcVcomCallback() 933 if (0U != serialUsbCdc->rx.busy) in Serial_UsbCdcRead() 938 serialUsbCdc->rx.busy = 1U; in Serial_UsbCdcRead() 943 serialUsbCdc->rx.busy = 0U; in Serial_UsbCdcRead() 962 serialUsbCdc->rx.busy = 0U; in Serial_UsbCdcRead() 1007 serialUsbCdc->rx.callback = callback; in Serial_UsbCdcInstallRxCallback() 1008 serialUsbCdc->rx.callbackParam = callbackParam; in Serial_UsbCdcInstallRxCallback()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/rpmsg/ |
D | fsl_adapter_rpmsg.c | 43 hal_rpmsg_rx_state_t rx; member 135 assert(NULL != rpmsgHandle->rx.callback); in rpmsg_ept_read_cb() 137 return rpmsgHandle->rx.callback(rpmsgHandle->rx.param, payload, payload_len); in rpmsg_ept_read_cb() 211 rpmsgHandle->rx.callback = NULL; in HAL_RpmsgMasterInit() 212 rpmsgHandle->rx.param = NULL; in HAL_RpmsgMasterInit() 277 rpmsgHandle->rx.callback = NULL; in HAL_RpmsgRemoteInit() 278 rpmsgHandle->rx.param = NULL; in HAL_RpmsgRemoteInit() 323 rpmsgHandle->rx.callback = config->callback; in HAL_RpmsgInit() 324 rpmsgHandle->rx.param = config->param; in HAL_RpmsgInit() 470 rpmsgHandle->rx.callback = callback; in HAL_RpmsgInstallRxCallback() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/uart/ |
D | fsl_adapter_iuart.c | 50 hal_uart_receive_state_t rx; member 172 if (uartHandle->rx.buffer) in HAL_UartInterruptHandle() 174 … uartHandle->rx.buffer[uartHandle->rx.bufferSofar++] = UART_ReadByte(s_UartAdapterBase[instance]); in HAL_UartInterruptHandle() 175 if (uartHandle->rx.bufferSofar >= uartHandle->rx.bufferLength) in HAL_UartInterruptHandle() 181 uartHandle->rx.buffer = NULL; in HAL_UartInterruptHandle() 316 if (uartHandle->rx.buffer) in HAL_UartReceiveBlocking() 501 if (uartHandle->rx.buffer) in HAL_UartReceiveNonBlocking() 506 uartHandle->rx.bufferLength = length; in HAL_UartReceiveNonBlocking() 507 uartHandle->rx.bufferSofar = 0; in HAL_UartReceiveNonBlocking() 508 uartHandle->rx.buffer = data; in HAL_UartReceiveNonBlocking() [all …]
|
D | fsl_adapter_miniusart.c | 50 hal_uart_receive_state_t rx; member 172 if (uartHandle->rx.buffer) in HAL_UartInterruptHandle() 174 …uartHandle->rx.buffer[uartHandle->rx.bufferSofar++] = USART_ReadByte(s_UsartAdapterBase[instance]); in HAL_UartInterruptHandle() 175 if (uartHandle->rx.bufferSofar >= uartHandle->rx.bufferLength) in HAL_UartInterruptHandle() 179 uartHandle->rx.buffer = NULL; in HAL_UartInterruptHandle() 313 if (uartHandle->rx.buffer) in HAL_UartReceiveBlocking() 499 if (uartHandle->rx.buffer) in HAL_UartReceiveNonBlocking() 504 uartHandle->rx.bufferLength = length; in HAL_UartReceiveNonBlocking() 505 uartHandle->rx.bufferSofar = 0; in HAL_UartReceiveNonBlocking() 506 uartHandle->rx.buffer = data; in HAL_UartReceiveNonBlocking() [all …]
|
D | fsl_adapter_uart.c | 50 hal_uart_receive_state_t rx; member 174 if (NULL != uartHandle->rx.buffer) in HAL_UartInterruptHandle() 176 … uartHandle->rx.buffer[uartHandle->rx.bufferSofar++] = UART_ReadByte(s_UartAdapterBase[instance]); in HAL_UartInterruptHandle() 177 if (uartHandle->rx.bufferSofar >= uartHandle->rx.bufferLength) in HAL_UartInterruptHandle() 181 uartHandle->rx.buffer = NULL; in HAL_UartInterruptHandle() 326 if (NULL != uartHandle->rx.buffer) in HAL_UartReceiveBlocking() 511 if (NULL != uartHandle->rx.buffer) in HAL_UartReceiveNonBlocking() 516 uartHandle->rx.bufferLength = length; in HAL_UartReceiveNonBlocking() 517 uartHandle->rx.bufferSofar = 0; in HAL_UartReceiveNonBlocking() 518 uartHandle->rx.buffer = data; in HAL_UartReceiveNonBlocking() [all …]
|
D | fsl_adapter_usart.c | 99 hal_uart_receive_state_t rx; member 227 if (NULL != uartHandle->rx.buffer) in HAL_UartInterruptHandle() 229 …uartHandle->rx.buffer[uartHandle->rx.bufferSofar++] = USART_ReadByte(s_UsartAdapterBase[instance]); in HAL_UartInterruptHandle() 230 if (uartHandle->rx.bufferSofar >= uartHandle->rx.bufferLength) in HAL_UartInterruptHandle() 234 uartHandle->rx.buffer = NULL; in HAL_UartInterruptHandle() 392 if (NULL != uartHandle->rx.buffer) in HAL_UartReceiveBlocking() 587 if (NULL != uartHandle->rx.buffer) in HAL_UartReceiveNonBlocking() 592 uartHandle->rx.bufferLength = length; in HAL_UartReceiveNonBlocking() 593 uartHandle->rx.bufferSofar = 0; in HAL_UartReceiveNonBlocking() 594 uartHandle->rx.buffer = data; in HAL_UartReceiveNonBlocking() [all …]
|
D | fsl_adapter_lpuart.c | 152 hal_uart_receive_state_t rx; member 534 if (NULL != uartHandle->rx.buffer) in HAL_UartInterruptHandle() 555 …uartHandle->rx.buffer[uartHandle->rx.bufferSofar++] = LPUART_ReadByte(s_LpuartAdapterBase[instance… in HAL_UartInterruptHandle() 556 if (uartHandle->rx.bufferSofar >= uartHandle->rx.bufferLength) in HAL_UartInterruptHandle() 565 uartHandle->rx.buffer = NULL; in HAL_UartInterruptHandle() 1009 if (NULL != uartHandle->rx.buffer) in HAL_UartReceiveNonBlocking() 1014 uartHandle->rx.bufferLength = length; in HAL_UartReceiveNonBlocking() 1015 uartHandle->rx.bufferSofar = 0; in HAL_UartReceiveNonBlocking() 1016 uartHandle->rx.buffer = data; in HAL_UartReceiveNonBlocking() 1054 if (NULL != uartHandle->rx.buffer) in HAL_UartGetReceiveCount() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpi2c/ |
D | fsl_lpi2c_edma.c | 138 handle->rx = rxDmaHandle; in LPI2C_MasterCreateEDMAHandle() 151 EDMA_SetCallback(handle->rx, LPI2C_MasterEDMACallback, handle); in LPI2C_MasterCreateEDMAHandle() 309 EDMA_ResetChannel(handle->rx->base, handle->rx->channel); in LPI2C_MasterTransferEDMA() 374 EDMA_SetTransferConfig(handle->rx->base, handle->rx->channel, &transferConfig, NULL); in LPI2C_MasterTransferEDMA() 375 …EDMA_EnableChannelInterrupts(handle->rx->base, handle->rx->channel, (uint32_t)kEDMA_MajorInterrupt… in LPI2C_MasterTransferEDMA() 430 EDMA_StartTransfer(handle->rx); in LPI2C_MasterTransferEDMA() 491 … (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount(handle->rx->base, handle->rx->channel); in LPI2C_MasterTransferGetCountEDMA() 520 EDMA_AbortTransfer(handle->rx); in LPI2C_MasterTransferAbortEDMA() 583 EDMA_AbortTransfer(handle->rx); in LPI2C_MasterTransferEdmaHandleIRQ()
|
D | fsl_lpi2c_edma.h | 62 … edma_handle_t *rx; /*!< Handle for receive DMA channel. */ member
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/Driver/Include/ |
D | Driver_CAN.h | 113 uint32_t rx : 1; ///< Object supports reception member
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/snvs_lp/ |
D | fsl_snvs_lp.h | 435 status_t SNVS_LP_EnableRxActiveTamper(SNVS_Type *base, snvs_lp_external_tamper_t rx, tamper_active_…
|
D | fsl_snvs_lp.c | 1033 status_t SNVS_LP_EnableRxActiveTamper(SNVS_Type *base, snvs_lp_external_tamper_t rx, tamper_active_… in SNVS_LP_EnableRxActiveTamper() argument 1037 switch (rx) in SNVS_LP_EnableRxActiveTamper()
|