STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Collaboration diagram for UART Error Code:

Macros

#define HAL_UART_ERROR_NONE   0x00000000U
 
#define HAL_UART_ERROR_PE   0x00000001U
 
#define HAL_UART_ERROR_NE   0x00000002U
 
#define HAL_UART_ERROR_FE   0x00000004U
 
#define HAL_UART_ERROR_ORE   0x00000008U
 
#define HAL_UART_ERROR_DMA   0x00000010U
 

Detailed Description

Macro Definition Documentation

◆ HAL_UART_ERROR_NONE

◆ HAL_UART_ERROR_PE

#define HAL_UART_ERROR_PE   0x00000001U

#include <stm32f4xx_hal_uart.h>

Parity error

Definition at line 257 of file stm32f4xx_hal_uart.h.

Referenced by HAL_UART_IRQHandler().

◆ HAL_UART_ERROR_NE

#define HAL_UART_ERROR_NE   0x00000002U

#include <stm32f4xx_hal_uart.h>

Noise error

Definition at line 258 of file stm32f4xx_hal_uart.h.

Referenced by HAL_UART_IRQHandler().

◆ HAL_UART_ERROR_FE

#define HAL_UART_ERROR_FE   0x00000004U

#include <stm32f4xx_hal_uart.h>

Frame error

Definition at line 259 of file stm32f4xx_hal_uart.h.

Referenced by HAL_UART_IRQHandler().

◆ HAL_UART_ERROR_ORE

#define HAL_UART_ERROR_ORE   0x00000008U

#include <stm32f4xx_hal_uart.h>

Overrun error

Definition at line 260 of file stm32f4xx_hal_uart.h.

Referenced by HAL_UART_IRQHandler(), and UART_WaitOnFlagUntilTimeout().

◆ HAL_UART_ERROR_DMA

#define HAL_UART_ERROR_DMA   0x00000010U

#include <stm32f4xx_hal_uart.h>

DMA transfer error

Definition at line 261 of file stm32f4xx_hal_uart.h.

Referenced by HAL_UART_Abort(), HAL_UART_AbortReceive(), HAL_UART_AbortTransmit(), and UART_DMAError().