Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/platform/ext/target/nxp/common/Native_Driver/components/serial_manager/
Dfsl_component_serial_port_uart.c103 static serial_manager_status_t Serial_UartEnableReceiving(serial_uart_state_t *serialUartHandle) in Serial_UartEnableReceiving() argument
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()
115 …HAL_UartTransferReceiveNonBlocking(((hal_uart_handle_t)&serialUartHandle->usartHandleBuffer[0]), &… in Serial_UartEnableReceiving()
118 HAL_UartReceiveNonBlocking(((hal_uart_handle_t)&serialUartHandle->usartHandleBuffer[0]), in Serial_UartEnableReceiving()
119 … &serialUartHandle->rx.readBuffer[0], sizeof(serialUartHandle->rx.readBuffer))) in Serial_UartEnableReceiving()
122 serialUartHandle->rx.busy = 0U; in Serial_UartEnableReceiving()
132 serial_uart_state_t *serialUartHandle; in Serial_UartCallback() local
[all …]