Home
last modified time | relevance | path

Searched refs:uartHandle (Results 1 – 7 of 7) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/uart/
Dfsl_adapter_iuart.c134 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()
174uartHandle->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 …]
Dfsl_adapter_miniusart.c134 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()
174uartHandle->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 …]
Dfsl_adapter_uart.c134 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()
176uartHandle->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 …]
Dfsl_adapter_usart.c188 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()
229uartHandle->rx.buffer[uartHandle->rx.bufferSofar++] = USART_ReadByte(s_UsartAdapterBase[instance]); in HAL_UartInterruptHandle()
[all …]
Dfsl_adapter_lpuart.c395 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()
555uartHandle->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/
Dfsl_flexio_uart.h572 void FLEXIO_UART_TransferHandleIRQ(void *uartType, void *uartHandle);
Dfsl_flexio_uart.c881 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()