Prusa MINI Firmware overview
Collaboration diagram for SPI Error Code:

Macros

#define HAL_SPI_ERROR_NONE   0x00000000U
 
#define HAL_SPI_ERROR_MODF   0x00000001U
 
#define HAL_SPI_ERROR_CRC   0x00000002U
 
#define HAL_SPI_ERROR_OVR   0x00000004U
 
#define HAL_SPI_ERROR_FRE   0x00000008U
 
#define HAL_SPI_ERROR_DMA   0x00000010U
 
#define HAL_SPI_ERROR_FLAG   0x00000020U
 

Detailed Description

Macro Definition Documentation

◆ HAL_SPI_ERROR_NONE

#define HAL_SPI_ERROR_NONE   0x00000000U

No error

◆ HAL_SPI_ERROR_MODF

#define HAL_SPI_ERROR_MODF   0x00000001U

MODF error

◆ HAL_SPI_ERROR_CRC

#define HAL_SPI_ERROR_CRC   0x00000002U

CRC error

◆ HAL_SPI_ERROR_OVR

#define HAL_SPI_ERROR_OVR   0x00000004U

OVR error

◆ HAL_SPI_ERROR_FRE

#define HAL_SPI_ERROR_FRE   0x00000008U

FRE error

◆ HAL_SPI_ERROR_DMA

#define HAL_SPI_ERROR_DMA   0x00000010U

DMA transfer error

◆ HAL_SPI_ERROR_FLAG

#define HAL_SPI_ERROR_FLAG   0x00000020U

Flag: RXNE,TXE, BSY