Home
last modified time | relevance | path

Searched refs:tx (Results 1 – 13 of 13) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/serial_manager/
Dfsl_component_serial_port_uart.c75 serial_uart_send_state_t tx; member
87 serial_uart_send_state_t tx; member
154 if (0U != serialUartHandle->tx.busy) in Serial_UartCallback()
156 serialUartHandle->tx.busy = 0U; in Serial_UartCallback()
157 if ((NULL != serialUartHandle->tx.callback)) in Serial_UartCallback()
159 serialMsg.buffer = serialUartHandle->tx.buffer; in Serial_UartCallback()
160 serialMsg.length = serialUartHandle->tx.length; in Serial_UartCallback()
161 …serialUartHandle->tx.callback(serialUartHandle->tx.callbackParam, &serialMsg, kStatus_SerialManage… in Serial_UartCallback()
229 serialUartHandle->tx.busy = 0U; in Serial_UartDeinit()
251 if (0U != serialUartHandle->tx.busy) in Serial_UartWrite()
[all …]
Dfsl_component_serial_port_spi.c59 serial_spi_master_send_state_t tx; member
85 serial_spi_slave_send_state_t tx; member
106 if (NULL != serialSpiMasterHandle->tx.callback) in Serial_SpiMasterTxCallback()
109 msg.buffer = serialSpiMasterHandle->tx.buffer; in Serial_SpiMasterTxCallback()
110 msg.length = serialSpiMasterHandle->tx.length; in Serial_SpiMasterTxCallback()
111 if (NULL != serialSpiMasterHandle->tx.callback) in Serial_SpiMasterTxCallback()
113 …serialSpiMasterHandle->tx.callback(serialSpiMasterHandle->tx.callbackParam, &msg, serialManagerSta… in Serial_SpiMasterTxCallback()
146 msg.buffer = serialSpiSlaveHandle->tx.buffer; in Serial_SpiSlaveTxCallback()
147 msg.length = serialSpiSlaveHandle->tx.length; in Serial_SpiSlaveTxCallback()
148 if (NULL != serialSpiSlaveHandle->tx.callback) in Serial_SpiSlaveTxCallback()
[all …]
Dfsl_component_serial_port_usb.c120 serial_usb_send_state_t tx; member
331 serialUsbCdc->tx.busy = 0; in USB_DeviceCdcVcomCallback()
333 if ((NULL != serialUsbCdc->tx.callback)) in USB_DeviceCdcVcomCallback()
336 msg.buffer = serialUsbCdc->tx.buffer; in USB_DeviceCdcVcomCallback()
337 msg.length = serialUsbCdc->tx.length; in USB_DeviceCdcVcomCallback()
343 … serialUsbCdc->tx.callback(serialUsbCdc->tx.callbackParam, &msg, serialManagerStatus); in USB_DeviceCdcVcomCallback()
373 if ((0U != serialUsbCdc->startTransactions) && (0U != serialUsbCdc->tx.waiting4Prime)) in USB_DeviceCdcVcomCallback()
375 serialUsbCdc->tx.waiting4Prime = 0U; in USB_DeviceCdcVcomCallback()
376 serialUsbCdc->tx.busy = 1U; in USB_DeviceCdcVcomCallback()
378 … USB_CDC_VCOM_BULK_IN_ENDPOINT, serialUsbCdc->tx.buffer, in USB_DeviceCdcVcomCallback()
[all …]
Dfsl_component_serial_port_virtual.c60 serial_port_virtual_send_state_t tx; member
170 if (NULL != serialPortVirtual->tx.callback) in Serial_PortVirtualTxCallback()
172 serialPortVirtual->tx.callback(serialPortVirtual->tx.callbackParam, message, status); in Serial_PortVirtualTxCallback()
216 if ((NULL != serialPortVirtual->tx.callback)) in USB_DeviceVcomWrite()
220 …serialPortVirtual->tx.callback(serialPortVirtual->tx.callbackParam, &msg, kStatus_SerialManager_Su… in USB_DeviceVcomWrite()
365 serialPortVirtual->tx.callback = callback; in Serial_PortVirtualInstallTxCallback()
366 serialPortVirtual->tx.callbackParam = callbackParam; in Serial_PortVirtualInstallTxCallback()
Dfsl_component_serial_port_rpmsg.c59 serial_rpmsg_send_state_t tx; member
175 if (NULL != serialRpmsgHandle->tx.callback) in Serial_RpmsgWrite()
179 … serialRpmsgHandle->tx.callback(serialRpmsgHandle->tx.param, &msg, kStatus_SerialManager_Success); in Serial_RpmsgWrite()
270 serialRpmsgHandle->tx.callback = callback; in Serial_RpmsgInstallTxCallback()
271 serialRpmsgHandle->tx.param = callbackParam; in Serial_RpmsgInstallTxCallback()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpi2c/
Dfsl_lpi2c_edma.c139 …handle->tx = (FSL_FEATURE_LPI2C_HAS_SEPARATE_DMA_RX_TX_REQn(base) > 0) ? txDmaHand… in LPI2C_MasterCreateEDMAHandle()
154 EDMA_SetCallback(handle->tx, LPI2C_MasterEDMACallback, handle); in LPI2C_MasterCreateEDMAHandle()
312 EDMA_ResetChannel(handle->tx->base, handle->tx->channel); in LPI2C_MasterTransferEDMA()
351 EDMA_SetTransferConfig(handle->tx->base, handle->tx->channel, &transferConfig, NULL); in LPI2C_MasterTransferEDMA()
352 …EDMA_EnableChannelInterrupts(handle->tx->base, handle->tx->channel, (uint32_t)kEDMA_MajorInterrupt… in LPI2C_MasterTransferEDMA()
420 EDMA_SetTransferConfig(handle->tx->base, handle->tx->channel, &transferConfig, linkTcd); in LPI2C_MasterTransferEDMA()
438 EDMA_StartTransfer(handle->tx); in LPI2C_MasterTransferEDMA()
481 if (EDMA_GetNextTCDAddress(handle->tx) == 0U) in LPI2C_MasterTransferGetCountEDMA()
486 … (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount(handle->tx->base, handle->tx->channel); in LPI2C_MasterTransferGetCountEDMA()
523 EDMA_AbortTransfer(handle->tx); in LPI2C_MasterTransferAbortEDMA()
[all …]
Dfsl_lpi2c_edma.h63 … edma_handle_t *tx; /*!< Handle for transmit DMA channel. */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/components/uart/
Dfsl_adapter_iuart.c51 hal_uart_send_state_t tx; member
198 if (uartHandle->tx.buffer) in HAL_UartInterruptHandle()
200 … UART_WriteByte(s_UartAdapterBase[instance], uartHandle->tx.buffer[uartHandle->tx.bufferSofar++]); in HAL_UartInterruptHandle()
201 if (uartHandle->tx.bufferSofar >= uartHandle->tx.bufferLength) in HAL_UartInterruptHandle()
204 uartHandle->tx.buffer = NULL; in HAL_UartInterruptHandle()
337 if (uartHandle->tx.buffer) in HAL_UartSendBlocking()
525 if (uartHandle->tx.buffer) in HAL_UartSendNonBlocking()
529 uartHandle->tx.bufferLength = length; in HAL_UartSendNonBlocking()
530 uartHandle->tx.bufferSofar = 0; in HAL_UartSendNonBlocking()
531 uartHandle->tx.buffer = (volatile uint8_t *)data; in HAL_UartSendNonBlocking()
[all …]
Dfsl_adapter_miniusart.c51 hal_uart_send_state_t tx; member
192 if (uartHandle->tx.buffer) in HAL_UartInterruptHandle()
194 …USART_WriteByte(s_UsartAdapterBase[instance], uartHandle->tx.buffer[uartHandle->tx.bufferSofar++]); in HAL_UartInterruptHandle()
195 if (uartHandle->tx.bufferSofar >= uartHandle->tx.bufferLength) in HAL_UartInterruptHandle()
198 uartHandle->tx.buffer = NULL; in HAL_UartInterruptHandle()
334 if (uartHandle->tx.buffer) in HAL_UartSendBlocking()
522 if (uartHandle->tx.buffer) in HAL_UartSendNonBlocking()
526 uartHandle->tx.bufferLength = length; in HAL_UartSendNonBlocking()
527 uartHandle->tx.bufferSofar = 0; in HAL_UartSendNonBlocking()
528 uartHandle->tx.buffer = (volatile uint8_t *)data; in HAL_UartSendNonBlocking()
[all …]
Dfsl_adapter_uart.c51 hal_uart_send_state_t tx; member
196 if (NULL != uartHandle->tx.buffer) in HAL_UartInterruptHandle()
198 … UART_WriteByte(s_UartAdapterBase[instance], uartHandle->tx.buffer[uartHandle->tx.bufferSofar++]); in HAL_UartInterruptHandle()
199 if (uartHandle->tx.bufferSofar >= uartHandle->tx.bufferLength) in HAL_UartInterruptHandle()
203 uartHandle->tx.buffer = NULL; in HAL_UartInterruptHandle()
347 if (NULL != uartHandle->tx.buffer) in HAL_UartSendBlocking()
534 if (NULL != uartHandle->tx.buffer) in HAL_UartSendNonBlocking()
538 uartHandle->tx.bufferLength = length; in HAL_UartSendNonBlocking()
539 uartHandle->tx.bufferSofar = 0; in HAL_UartSendNonBlocking()
540 uartHandle->tx.buffer = (volatile uint8_t *)data; in HAL_UartSendNonBlocking()
[all …]
Dfsl_adapter_usart.c100 hal_uart_send_state_t tx; member
247 if (NULL != uartHandle->tx.buffer) in HAL_UartInterruptHandle()
249 …USART_WriteByte(s_UsartAdapterBase[instance], uartHandle->tx.buffer[uartHandle->tx.bufferSofar++]); in HAL_UartInterruptHandle()
250 if (uartHandle->tx.bufferSofar >= uartHandle->tx.bufferLength) in HAL_UartInterruptHandle()
253 uartHandle->tx.buffer = NULL; in HAL_UartInterruptHandle()
413 if (NULL != uartHandle->tx.buffer) in HAL_UartSendBlocking()
609 if (NULL != uartHandle->tx.buffer) in HAL_UartSendNonBlocking()
613 uartHandle->tx.bufferLength = length; in HAL_UartSendNonBlocking()
614 uartHandle->tx.bufferSofar = 0; in HAL_UartSendNonBlocking()
615 uartHandle->tx.buffer = (volatile uint8_t *)data; in HAL_UartSendNonBlocking()
[all …]
Dfsl_adapter_lpuart.c153 hal_uart_send_state_t tx; member
592 if (NULL != uartHandle->tx.buffer) in HAL_UartInterruptHandle()
607 …LPUART_WriteByte(s_LpuartAdapterBase[instance], uartHandle->tx.buffer[uartHandle->tx.bufferSofar++… in HAL_UartInterruptHandle()
608 if (uartHandle->tx.bufferSofar >= uartHandle->tx.bufferLength) in HAL_UartInterruptHandle()
612 uartHandle->tx.buffer = NULL; in HAL_UartInterruptHandle()
1035 if (NULL != uartHandle->tx.buffer) in HAL_UartSendNonBlocking()
1039 uartHandle->tx.bufferLength = length; in HAL_UartSendNonBlocking()
1040 uartHandle->tx.bufferSofar = 0; in HAL_UartSendNonBlocking()
1041 uartHandle->tx.buffer = data; in HAL_UartSendNonBlocking()
1070 if (NULL != uartHandle->tx.buffer) in HAL_UartGetSendCount()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/Driver/Include/
DDriver_CAN.h112 uint32_t tx : 1; ///< Object supports transmission member