STM32L486xx HAL User Manual
Defines
SMARTCARD Error Code Definition
SMARTCARD Exported Constants

Defines

#define HAL_SMARTCARD_ERROR_NONE   ((uint32_t)0x00000000U)
#define HAL_SMARTCARD_ERROR_PE   ((uint32_t)0x00000001U)
#define HAL_SMARTCARD_ERROR_NE   ((uint32_t)0x00000002U)
#define HAL_SMARTCARD_ERROR_FE   ((uint32_t)0x00000004U)
#define HAL_SMARTCARD_ERROR_ORE   ((uint32_t)0x00000008U)
#define HAL_SMARTCARD_ERROR_DMA   ((uint32_t)0x00000010U)
#define HAL_SMARTCARD_ERROR_RTO   ((uint32_t)0x00000020U)
#define HAL_SMARTCARD_ERROR_INVALID_CALLBACK   ((uint32_t)0x00000040U)

Define Documentation

#define HAL_SMARTCARD_ERROR_DMA   ((uint32_t)0x00000010U)

DMA transfer error

Definition at line 360 of file stm32l4xx_hal_smartcard.h.

Referenced by SMARTCARD_DMAError().

#define HAL_SMARTCARD_ERROR_FE   ((uint32_t)0x00000004U)

frame error

Definition at line 358 of file stm32l4xx_hal_smartcard.h.

Referenced by HAL_SMARTCARD_IRQHandler().

#define HAL_SMARTCARD_ERROR_INVALID_CALLBACK   ((uint32_t)0x00000040U)

Invalid Callback error

Definition at line 363 of file stm32l4xx_hal_smartcard.h.

Referenced by HAL_SMARTCARD_RegisterCallback(), and HAL_SMARTCARD_UnRegisterCallback().

#define HAL_SMARTCARD_ERROR_NE   ((uint32_t)0x00000002U)

Noise error

Definition at line 357 of file stm32l4xx_hal_smartcard.h.

Referenced by HAL_SMARTCARD_IRQHandler().

#define HAL_SMARTCARD_ERROR_NONE   ((uint32_t)0x00000000U)
#define HAL_SMARTCARD_ERROR_ORE   ((uint32_t)0x00000008U)

Overrun error

Definition at line 359 of file stm32l4xx_hal_smartcard.h.

Referenced by HAL_SMARTCARD_IRQHandler().

#define HAL_SMARTCARD_ERROR_PE   ((uint32_t)0x00000001U)

Parity error

Definition at line 356 of file stm32l4xx_hal_smartcard.h.

Referenced by HAL_SMARTCARD_IRQHandler().

#define HAL_SMARTCARD_ERROR_RTO   ((uint32_t)0x00000020U)

Receiver TimeOut error

Definition at line 361 of file stm32l4xx_hal_smartcard.h.

Referenced by HAL_SMARTCARD_IRQHandler().