SPI Peripheral Driver Error Codes#
Bootloader error codes returned by the SPI Peripheral driver.
Offset from BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE
Macros#
#define
BOOTLOADER_ERROR_SPI_PERIPHERAL_UNINIT (BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE | 0x01)
Operation not allowed because hardware has not been initialized.
#define
BOOTLOADER_ERROR_SPI_PERIPHERAL_INIT (BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE | 0x02)
Hardware fail during initialization.
#define
BOOTLOADER_ERROR_SPI_PERIPHERAL_ARGUMENT (BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE | 0x03)
Invalid argument.
#define
BOOTLOADER_ERROR_SPI_PERIPHERAL_TIMEOUT (BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE | 0x04)
Timeout.
#define
BOOTLOADER_ERROR_SPI_PERIPHERAL_OVERFLOW (BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE | 0x05)
Buffer overflow condition.
#define
BOOTLOADER_ERROR_SPI_PERIPHERAL_BUSY (BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE | 0x06)
Busy condition.