Macros
UART Error Code
Peripheral Driver » HAL Driver » UART » Defines » UART Exported Constants

## Macros
#define | HAL_UART_ERROR_NONE (0x00000000U)
#define | HAL_UART_ERROR_PE LL_UART_LSR_PE
#define | HAL_UART_ERROR_FE LL_UART_LSR_FE
#define | HAL_UART_ERROR_OE LL_UART_LSR_OE
#define | HAL_UART_ERROR_BI LL_UART_LSR_BI
#define | HAL_UART_ERROR_DMA (0x00000100U)
#define | HAL_UART_ERROR_BUSY (0x00000200U)
#define | HAL_UART_ERROR_INVALID_PARAM (0x00000400U)

## Detailed Description

## Macro Definition Documentation

## ◆ HAL_UART_ERROR_BI

#define HAL_UART_ERROR_BI LL_UART_LSR_BI

Break dection error

Definition at line 247 of file gr533x_hal_uart.h.

## ◆ HAL_UART_ERROR_BUSY

#define HAL_UART_ERROR_BUSY (0x00000200U)

Busy Error

Definition at line 249 of file gr533x_hal_uart.h.

## ◆ HAL_UART_ERROR_DMA

#define HAL_UART_ERROR_DMA (0x00000100U)

DMA transfer error

Definition at line 248 of file gr533x_hal_uart.h.

## ◆ HAL_UART_ERROR_FE

#define HAL_UART_ERROR_FE LL_UART_LSR_FE

frame error

Definition at line 245 of file gr533x_hal_uart.h.

## ◆ HAL_UART_ERROR_INVALID_PARAM

#define HAL_UART_ERROR_INVALID_PARAM (0x00000400U)

Invalid parameter error

Definition at line 250 of file gr533x_hal_uart.h.

## ◆ HAL_UART_ERROR_NONE

#define HAL_UART_ERROR_NONE (0x00000000U)

No error

Definition at line 243 of file gr533x_hal_uart.h.

## ◆ HAL_UART_ERROR_OE

#define HAL_UART_ERROR_OE LL_UART_LSR_OE

Overrun error

Definition at line 246 of file gr533x_hal_uart.h.

## ◆ HAL_UART_ERROR_PE

#define HAL_UART_ERROR_PE LL_UART_LSR_PE

Parity error

Definition at line 244 of file gr533x_hal_uart.h.