Enumerations
HAL UART state
Peripheral Driver » HAL Driver » UART » Enumerations

## Enumerations
enum | hal_uart_state_t { HAL_UART_STATE_RESET = 0x00U, HAL_UART_STATE_READY = 0x10U, HAL_UART_STATE_BUSY = 0x14U, HAL_UART_STATE_BUSY_TX = 0x11U, HAL_UART_STATE_BUSY_RX = 0x12U, HAL_UART_STATE_BUSY_TXRX = 0x13U, HAL_UART_STATE_TIMEOUT = 0x30U, HAL_UART_STATE_ERROR = 0x70U }
| HAL UART State enumerations definition. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ hal_uart_state_t

enum hal_uart_state_t

HAL UART State enumerations definition.

Note
  HAL UART State value is a combination of 2 different substates: gState and RxState.

Enumerator
HAL_UART_STATE_RESET | Peripheral is not initialized. Value is allowed for gState and RxState
HAL_UART_STATE_READY | Peripheral initialized and ready for use. Value is allowed for gState and RxState
HAL_UART_STATE_BUSY | An internal process is ongoing. Value is allowed for gState only
HAL_UART_STATE_BUSY_TX | Data Transmission process is ongoing. Value is allowed for gState only
HAL_UART_STATE_BUSY_RX | Data Reception process is ongoing. Value is allowed for RxState only
HAL_UART_STATE_BUSY_TXRX | Data Transmission and Reception process is ongoing. Value is allowed for gState only
HAL_UART_STATE_TIMEOUT | Timeout state. Value is allowed for gState only
HAL_UART_STATE_ERROR | Error. Value is allowed for gState only

Definition at line 76 of file gr55xx_hal_uart.h.