STM32L486xx HAL User Manual
Defines
USART Error Definition
USART Exported Constants

Defines

#define HAL_USART_ERROR_NONE   ((uint32_t)0x00000000U)
#define HAL_USART_ERROR_PE   ((uint32_t)0x00000001U)
#define HAL_USART_ERROR_NE   ((uint32_t)0x00000002U)
#define HAL_USART_ERROR_FE   ((uint32_t)0x00000004U)
#define HAL_USART_ERROR_ORE   ((uint32_t)0x00000008U)
#define HAL_USART_ERROR_DMA   ((uint32_t)0x00000010U)
#define HAL_USART_ERROR_INVALID_CALLBACK   ((uint32_t)0x00000040U)

Define Documentation

#define HAL_USART_ERROR_DMA   ((uint32_t)0x00000010U)

DMA transfer error

Definition at line 253 of file stm32l4xx_hal_usart.h.

Referenced by USART_DMAError().

#define HAL_USART_ERROR_FE   ((uint32_t)0x00000004U)

frame error

Definition at line 251 of file stm32l4xx_hal_usart.h.

Referenced by HAL_USART_IRQHandler().

#define HAL_USART_ERROR_INVALID_CALLBACK   ((uint32_t)0x00000040U)

Invalid Callback error

Definition at line 258 of file stm32l4xx_hal_usart.h.

Referenced by HAL_USART_RegisterCallback(), and HAL_USART_UnRegisterCallback().

#define HAL_USART_ERROR_NE   ((uint32_t)0x00000002U)

Noise error

Definition at line 250 of file stm32l4xx_hal_usart.h.

Referenced by HAL_USART_IRQHandler().

#define HAL_USART_ERROR_NONE   ((uint32_t)0x00000000U)
#define HAL_USART_ERROR_ORE   ((uint32_t)0x00000008U)

Overrun error

Definition at line 252 of file stm32l4xx_hal_usart.h.

Referenced by HAL_USART_IRQHandler().

#define HAL_USART_ERROR_PE   ((uint32_t)0x00000001U)

Parity error

Definition at line 249 of file stm32l4xx_hal_usart.h.

Referenced by HAL_USART_IRQHandler().