STM32L486xx HAL User Manual
Defines
SWPMI Error Code Bitmap
SWPMI Exported Constants

Defines

#define HAL_SWPMI_ERROR_NONE   ((uint32_t)0x00000000)
#define HAL_SWPMI_ERROR_CRC   ((uint32_t)0x00000004)
#define HAL_SWPMI_ERROR_OVR   ((uint32_t)0x00000008)
#define HAL_SWPMI_ERROR_UDR   ((uint32_t)0x0000000C)
#define HAL_SWPMI_ERROR_DMA   ((uint32_t)0x00000010)
#define HAL_SWPMI_ERROR_TIMEOUT   ((uint32_t)0x00000020)
#define HAL_SWPMI_ERROR_TXBEF_TIMEOUT   ((uint32_t)0x00000040)
#define HAL_SWPMI_ERROR_INVALID_CALLBACK   ((uint32_t)0x00000100)

Define Documentation

#define HAL_SWPMI_ERROR_CRC   ((uint32_t)0x00000004)

frame error

Definition at line 178 of file stm32l4xx_hal_swpmi.h.

Referenced by HAL_SWPMI_IRQHandler().

#define HAL_SWPMI_ERROR_DMA   ((uint32_t)0x00000010)

DMA transfer error

Definition at line 181 of file stm32l4xx_hal_swpmi.h.

Referenced by SWPMI_DMAError().

#define HAL_SWPMI_ERROR_INVALID_CALLBACK   ((uint32_t)0x00000100)

Invalid callback error

Definition at line 185 of file stm32l4xx_hal_swpmi.h.

Referenced by HAL_SWPMI_RegisterCallback(), and HAL_SWPMI_UnRegisterCallback().

#define HAL_SWPMI_ERROR_NONE   ((uint32_t)0x00000000)
#define HAL_SWPMI_ERROR_OVR   ((uint32_t)0x00000008)

Overrun error

Definition at line 179 of file stm32l4xx_hal_swpmi.h.

Referenced by HAL_SWPMI_IRQHandler().

#define HAL_SWPMI_ERROR_TIMEOUT   ((uint32_t)0x00000020)

Transfer timeout

Definition at line 182 of file stm32l4xx_hal_swpmi.h.

#define HAL_SWPMI_ERROR_TXBEF_TIMEOUT   ((uint32_t)0x00000040)

End Tx buffer timeout

Definition at line 183 of file stm32l4xx_hal_swpmi.h.

Referenced by HAL_SWPMI_Transmit(), and SWPMI_DMATransmitCplt().

#define HAL_SWPMI_ERROR_UDR   ((uint32_t)0x0000000C)

Underrun error

Definition at line 180 of file stm32l4xx_hal_swpmi.h.

Referenced by HAL_SWPMI_IRQHandler().