SPI slave driver error codesError Codes

Description

Bootloader error codes returned by the SPI slave driver.

Offset from BOOTLOADER_ERROR_SPISLAVE_BASE

Macros

#define BOOTLOADER_ERROR_SPISLAVE_UNINIT ( BOOTLOADER_ERROR_SPISLAVE_BASE | 0x01)
Operation not allowed because hardware has not been initialized.
#define BOOTLOADER_ERROR_SPISLAVE_INIT ( BOOTLOADER_ERROR_SPISLAVE_BASE | 0x02)
Hardware fail during initialization.
#define BOOTLOADER_ERROR_SPISLAVE_ARGUMENT ( BOOTLOADER_ERROR_SPISLAVE_BASE | 0x03)
Invalid argument.
#define BOOTLOADER_ERROR_SPISLAVE_TIMEOUT ( BOOTLOADER_ERROR_SPISLAVE_BASE | 0x04)
Timeout.
#define BOOTLOADER_ERROR_SPISLAVE_OVERFLOW ( BOOTLOADER_ERROR_SPISLAVE_BASE | 0x05)
Buffer overflow condition.
#define BOOTLOADER_ERROR_SPISLAVE_BUSY ( BOOTLOADER_ERROR_SPISLAVE_BASE | 0x06)
Busy condition.