STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches

USART Error Code. More...

Collaboration diagram for USART Error Code:

Macros

#define HAL_USART_ERROR_NONE   0x00000000U
 
#define HAL_USART_ERROR_PE   0x00000001U
 
#define HAL_USART_ERROR_NE   0x00000002U
 
#define HAL_USART_ERROR_FE   0x00000004U
 
#define HAL_USART_ERROR_ORE   0x00000008U
 
#define HAL_USART_ERROR_DMA   0x00000010U
 

Detailed Description

USART Error Code.

Macro Definition Documentation

◆ HAL_USART_ERROR_NONE

◆ HAL_USART_ERROR_PE

#define HAL_USART_ERROR_PE   0x00000001U

#include <stm32f4xx_hal_usart.h>

Parity error

Definition at line 181 of file stm32f4xx_hal_usart.h.

Referenced by HAL_USART_IRQHandler().

◆ HAL_USART_ERROR_NE

#define HAL_USART_ERROR_NE   0x00000002U

#include <stm32f4xx_hal_usart.h>

Noise error

Definition at line 182 of file stm32f4xx_hal_usart.h.

Referenced by HAL_USART_IRQHandler().

◆ HAL_USART_ERROR_FE

#define HAL_USART_ERROR_FE   0x00000004U

#include <stm32f4xx_hal_usart.h>

Frame error

Definition at line 183 of file stm32f4xx_hal_usart.h.

Referenced by HAL_USART_IRQHandler().

◆ HAL_USART_ERROR_ORE

#define HAL_USART_ERROR_ORE   0x00000008U

#include <stm32f4xx_hal_usart.h>

Overrun error

Definition at line 184 of file stm32f4xx_hal_usart.h.

Referenced by HAL_USART_IRQHandler().

◆ HAL_USART_ERROR_DMA

#define HAL_USART_ERROR_DMA   0x00000010U

#include <stm32f4xx_hal_usart.h>

DMA transfer error

Definition at line 185 of file stm32f4xx_hal_usart.h.

Referenced by USART_DMAError().