UART Peripheral State functions.
More...
UART Peripheral State functions.
==============================================================================
##### Peripheral State and Error functions #####
==============================================================================
[..]
This subsection provides functions allowing to :
(+) Return the UART handle state.
(+) Return the UART handle error code
◆ HAL_UART_GetError()
Return the UART handle error code.
- Parameters
-
| huart | Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART. |
- Return values
-
Definition at line 2804 of file stm32l4xx_hal_uart.c.
◆ HAL_UART_GetState()
Return the UART handle state.
- Parameters
-
| huart | Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART. |
- Return values
-
Definition at line 2788 of file stm32l4xx_hal_uart.c.
__IO HAL_UART_StateTypeDef RxState
uint32_t HAL_UART_StateTypeDef
HAL UART State definition.
__IO HAL_UART_StateTypeDef gState