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.
Macro Definition Documentation#
BOOTLOADER_ERROR_SPI_PERIPHERAL_UNINIT#
#define BOOTLOADER_ERROR_SPI_PERIPHERAL_UNINITValue:
(BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE | 0x01)
Operation not allowed because hardware has not been initialized.
Definition at line
310
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_SPI_PERIPHERAL_INIT#
#define BOOTLOADER_ERROR_SPI_PERIPHERAL_INITValue:
(BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE | 0x02)
Hardware fail during initialization.
Definition at line
313
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_SPI_PERIPHERAL_ARGUMENT#
#define BOOTLOADER_ERROR_SPI_PERIPHERAL_ARGUMENTValue:
(BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE | 0x03)
Invalid argument.
Definition at line
316
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_SPI_PERIPHERAL_TIMEOUT#
#define BOOTLOADER_ERROR_SPI_PERIPHERAL_TIMEOUTValue:
(BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE | 0x04)
Timeout.
Definition at line
319
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_SPI_PERIPHERAL_OVERFLOW#
#define BOOTLOADER_ERROR_SPI_PERIPHERAL_OVERFLOWValue:
(BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE | 0x05)
Buffer overflow condition.
Definition at line
322
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_SPI_PERIPHERAL_BUSY#
#define BOOTLOADER_ERROR_SPI_PERIPHERAL_BUSYValue:
(BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE | 0x06)
Busy condition.
Definition at line
325
of file platform/bootloader/api/btl_errorcode.h