UART Driver Error Codes#
Bootloader error codes returned by the UART driver.
Offset from BOOTLOADER_ERROR_UART_BASE
Macros#
#define
BOOTLOADER_ERROR_UART_UNINIT (BOOTLOADER_ERROR_UART_BASE | 0x01)
Operation not allowed because hardware has not been initialized.
#define
BOOTLOADER_ERROR_UART_INIT (BOOTLOADER_ERROR_UART_BASE | 0x02)
Hardware fail during initialization.
#define
BOOTLOADER_ERROR_UART_ARGUMENT (BOOTLOADER_ERROR_UART_BASE | 0x03)
Invalid argument.
#define
BOOTLOADER_ERROR_UART_TIMEOUT (BOOTLOADER_ERROR_UART_BASE | 0x04)
Operation timed out.
#define
BOOTLOADER_ERROR_UART_OVERFLOW (BOOTLOADER_ERROR_UART_BASE | 0x05)
Buffer overflow condition.
#define
BOOTLOADER_ERROR_UART_BUSY (BOOTLOADER_ERROR_UART_BASE | 0x06)
Busy condition.
Macro Definition Documentation#
BOOTLOADER_ERROR_UART_UNINIT#
#define BOOTLOADER_ERROR_UART_UNINITValue:
(BOOTLOADER_ERROR_UART_BASE | 0x01)
Operation not allowed because hardware has not been initialized.
Definition at line
338
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_UART_INIT#
#define BOOTLOADER_ERROR_UART_INITValue:
(BOOTLOADER_ERROR_UART_BASE | 0x02)
Hardware fail during initialization.
Definition at line
340
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_UART_ARGUMENT#
#define BOOTLOADER_ERROR_UART_ARGUMENTValue:
(BOOTLOADER_ERROR_UART_BASE | 0x03)
Invalid argument.
Definition at line
342
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_UART_TIMEOUT#
#define BOOTLOADER_ERROR_UART_TIMEOUTValue:
(BOOTLOADER_ERROR_UART_BASE | 0x04)
Operation timed out.
Definition at line
344
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_UART_OVERFLOW#
#define BOOTLOADER_ERROR_UART_OVERFLOWValue:
(BOOTLOADER_ERROR_UART_BASE | 0x05)
Buffer overflow condition.
Definition at line
346
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_UART_BUSY#
#define BOOTLOADER_ERROR_UART_BUSYValue:
(BOOTLOADER_ERROR_UART_BASE | 0x06)
Busy condition.
Definition at line
348
of file platform/bootloader/api/btl_errorcode.h