Searched refs:uartHandle (Results 1 – 7 of 7) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/components/uart/ |
D | fsl_adapter_iuart.c | 134 hal_uart_state_t *uartHandle; in HAL_UartCallback() local 138 uartHandle = (hal_uart_state_t *)callbackParam; in HAL_UartCallback() 142 if (uartHandle->hardwareHandle.rxDataSize) in HAL_UartCallback() 148 if (uartHandle->callback) in HAL_UartCallback() 150 uartHandle->callback(uartHandle, uartStatus, uartHandle->callbackParam); in HAL_UartCallback() 158 hal_uart_state_t *uartHandle = s_UartState[instance]; in HAL_UartInterruptHandle() local 160 if (NULL == uartHandle) in HAL_UartInterruptHandle() 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() [all …]
|
D | fsl_adapter_miniusart.c | 134 hal_uart_state_t *uartHandle; in HAL_UartCallback() local 138 uartHandle = (hal_uart_state_t *)callbackParam; in HAL_UartCallback() 142 if (uartHandle->hardwareHandle.rxDataSize) in HAL_UartCallback() 148 if (uartHandle->callback) in HAL_UartCallback() 150 uartHandle->callback(uartHandle, uartStatus, uartHandle->callbackParam); in HAL_UartCallback() 158 hal_uart_state_t *uartHandle = s_UartState[instance]; in HAL_UartInterruptHandle() local 161 if (NULL == uartHandle) in HAL_UartInterruptHandle() 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() [all …]
|
D | fsl_adapter_uart.c | 134 hal_uart_state_t *uartHandle; in HAL_UartCallback() local 138 uartHandle = (hal_uart_state_t *)callbackParam; in HAL_UartCallback() 142 if (0U != uartHandle->hardwareHandle.rxDataSize) in HAL_UartCallback() 148 if (NULL != uartHandle->callback) in HAL_UartCallback() 150 uartHandle->callback(uartHandle, uartStatus, uartHandle->callbackParam); in HAL_UartCallback() 158 hal_uart_state_t *uartHandle = s_UartState[instance]; in HAL_UartInterruptHandle() local 162 if (NULL == uartHandle) in HAL_UartInterruptHandle() 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() [all …]
|
D | fsl_adapter_usart.c | 188 hal_uart_state_t *uartHandle; in HAL_UartCallback() local 192 uartHandle = (hal_uart_state_t *)callbackParam; in HAL_UartCallback() 196 if (0U != uartHandle->hardwareHandle.rxDataSize) in HAL_UartCallback() 202 if (NULL != uartHandle->callback) in HAL_UartCallback() 204 uartHandle->callback(uartHandle, uartStatus, uartHandle->callbackParam); in HAL_UartCallback() 211 hal_uart_state_t *uartHandle = (hal_uart_state_t *)handle; in HAL_UartInterruptHandle() local 215 if (NULL == uartHandle) in HAL_UartInterruptHandle() 219 instance = uartHandle->instance; in HAL_UartInterruptHandle() 227 if (NULL != uartHandle->rx.buffer) in HAL_UartInterruptHandle() 229 …uartHandle->rx.buffer[uartHandle->rx.bufferSofar++] = USART_ReadByte(s_UsartAdapterBase[instance]); in HAL_UartInterruptHandle() [all …]
|
D | fsl_adapter_lpuart.c | 395 hal_uart_state_t *uartHandle; in HAL_UartCallback() local 399 uartHandle = (hal_uart_state_t *)callbackParam; in HAL_UartCallback() 403 if (0U != uartHandle->hardwareHandle.rxDataSize) in HAL_UartCallback() 409 if (NULL != uartHandle->callback) in HAL_UartCallback() 411 uartHandle->callback(uartHandle, uartStatus, uartHandle->callbackParam); in HAL_UartCallback() 427 hal_uart_state_t *uartHandle = s_UartState[instance]; in HAL_UartInterruptHandle() local 433 assert(NULL != uartHandle); in HAL_UartInterruptHandle() 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() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/uart/ |
D | fsl_flexio_uart.h | 572 void FLEXIO_UART_TransferHandleIRQ(void *uartType, void *uartHandle);
|
D | fsl_flexio_uart.c | 881 void FLEXIO_UART_TransferHandleIRQ(void *uartType, void *uartHandle) in FLEXIO_UART_TransferHandleIRQ() argument 885 flexio_uart_handle_t *handle = (flexio_uart_handle_t *)uartHandle; in FLEXIO_UART_TransferHandleIRQ()
|