STM32H735xx HAL User Manual
Defines
UART State Code Definition
UART Exported Constants

Defines

#define HAL_UART_STATE_RESET   0x00000000U
#define HAL_UART_STATE_READY   0x00000020U
#define HAL_UART_STATE_BUSY   0x00000024U
#define HAL_UART_STATE_BUSY_TX   0x00000021U
#define HAL_UART_STATE_BUSY_RX   0x00000022U
#define HAL_UART_STATE_BUSY_TX_RX   0x00000023U
#define HAL_UART_STATE_TIMEOUT   0x000000A0U
#define HAL_UART_STATE_ERROR   0x000000E0U

Define Documentation

#define HAL_UART_STATE_BUSY   0x00000024U
#define HAL_UART_STATE_BUSY_RX   0x00000022U
#define HAL_UART_STATE_BUSY_TX   0x00000021U
#define HAL_UART_STATE_BUSY_TX_RX   0x00000023U

Data Transmission and Reception process is ongoing Not to be used for neither gState nor RxState.Value is result of combination (Or) between gState and RxState values

Definition at line 335 of file stm32h7xx_hal_uart.h.

#define HAL_UART_STATE_ERROR   0x000000E0U

Error Value is allowed for gState only

Definition at line 340 of file stm32h7xx_hal_uart.h.

#define HAL_UART_STATE_READY   0x00000020U
#define HAL_UART_STATE_RESET   0x00000000U

Peripheral is not initialized Value is allowed for gState and RxState

Definition at line 325 of file stm32h7xx_hal_uart.h.

Referenced by HAL_HalfDuplex_Init(), HAL_LIN_Init(), HAL_MultiProcessor_Init(), HAL_RS485Ex_Init(), HAL_UART_DeInit(), HAL_UART_Init(), HAL_UART_RegisterCallback(), and HAL_UART_UnRegisterCallback().

#define HAL_UART_STATE_TIMEOUT   0x000000A0U

Timeout state Value is allowed for gState only

Definition at line 338 of file stm32h7xx_hal_uart.h.