Lines Matching refs:UART_2
68 else if( obj->UartId == UART_2 ) in UartMcuInit()
94 else if( obj->UartId == UART_2 ) in UartMcuConfig()
191 else if( obj->UartId == UART_2 ) in UartMcuConfig()
218 else if( obj->UartId == UART_2 ) in UartMcuDeInit()
353 else if( handle == &UartContext[UART_2].UartHandle ) in HAL_UART_TxCpltCallback()
356 uartId = UART_2; in HAL_UART_TxCpltCallback()
386 else if( handle == &UartContext[UART_2].UartHandle ) in HAL_UART_RxCpltCallback()
389 uartId = UART_2; in HAL_UART_RxCpltCallback()
418 else if( handle == &UartContext[UART_2].UartHandle ) in HAL_UART_ErrorCallback()
420 uartId = UART_2; in HAL_UART_ErrorCallback()
455 tmpFlag = __HAL_UART_GET_FLAG( &UartContext[UART_2].UartHandle, UART_FLAG_TC ); in USART2_IRQHandler()
456 tmpItSource = __HAL_UART_GET_IT_SOURCE( &UartContext[UART_2].UartHandle, UART_IT_TC ); in USART2_IRQHandler()
460 …if( ( UartContext[UART_2].UartHandle.State == HAL_UART_STATE_BUSY_RX ) || UartContext[UART_2].Uart… in USART2_IRQHandler()
462 UartContext[UART_2].UartHandle.State = HAL_UART_STATE_BUSY_TX_RX; in USART2_IRQHandler()
467 HAL_UART_IRQHandler( &UartContext[UART_2].UartHandle ); in USART2_IRQHandler()