Error Codes
Description
Macros |
|
#define | ECODE_EMDRV_SPIDRV_OK ( ECODE_OK ) |
A successful return value.
|
|
#define | ECODE_EMDRV_SPIDRV_ILLEGAL_HANDLE ( ECODE_EMDRV_SPIDRV_BASE | 0x00000001) |
An illegal SPI handle.
|
|
#define | ECODE_EMDRV_SPIDRV_PARAM_ERROR ( ECODE_EMDRV_SPIDRV_BASE | 0x00000002) |
An illegal input parameter.
|
|
#define | ECODE_EMDRV_SPIDRV_BUSY ( ECODE_EMDRV_SPIDRV_BASE | 0x00000003) |
The SPI port is busy.
|
|
#define | ECODE_EMDRV_SPIDRV_TIMER_ALLOC_ERROR ( ECODE_EMDRV_SPIDRV_BASE | 0x00000004) |
Unable to allocate timeout timer.
|
|
#define | ECODE_EMDRV_SPIDRV_TIMEOUT ( ECODE_EMDRV_SPIDRV_BASE | 0x00000005) |
An SPI transfer timeout.
|
|
#define | ECODE_EMDRV_SPIDRV_IDLE ( ECODE_EMDRV_SPIDRV_BASE | 0x00000006) |
No SPI transfer in progress.
|
|
#define | ECODE_EMDRV_SPIDRV_ABORTED ( ECODE_EMDRV_SPIDRV_BASE | 0x00000007) |
An SPI transfer has been aborted.
|
|
#define | ECODE_EMDRV_SPIDRV_MODE_ERROR ( ECODE_EMDRV_SPIDRV_BASE | 0x00000008) |
SPI master used slave API or vica versa.
|
|
#define | ECODE_EMDRV_SPIDRV_DMA_ALLOC_ERROR ( ECODE_EMDRV_SPIDRV_BASE | 0x00000009) |
Unable to allocate DMA channels.
|
|
Macro Definition Documentation
◆ ECODE_EMDRV_SPIDRV_OK
#define ECODE_EMDRV_SPIDRV_OK ( ECODE_OK ) |
A successful return value.
◆ ECODE_EMDRV_SPIDRV_ILLEGAL_HANDLE
#define ECODE_EMDRV_SPIDRV_ILLEGAL_HANDLE ( ECODE_EMDRV_SPIDRV_BASE | 0x00000001) |
An illegal SPI handle.
◆ ECODE_EMDRV_SPIDRV_PARAM_ERROR
#define ECODE_EMDRV_SPIDRV_PARAM_ERROR ( ECODE_EMDRV_SPIDRV_BASE | 0x00000002) |
An illegal input parameter.
◆ ECODE_EMDRV_SPIDRV_BUSY
#define ECODE_EMDRV_SPIDRV_BUSY ( ECODE_EMDRV_SPIDRV_BASE | 0x00000003) |
The SPI port is busy.
◆ ECODE_EMDRV_SPIDRV_TIMER_ALLOC_ERROR
#define ECODE_EMDRV_SPIDRV_TIMER_ALLOC_ERROR ( ECODE_EMDRV_SPIDRV_BASE | 0x00000004) |
Unable to allocate timeout timer.
◆ ECODE_EMDRV_SPIDRV_TIMEOUT
#define ECODE_EMDRV_SPIDRV_TIMEOUT ( ECODE_EMDRV_SPIDRV_BASE | 0x00000005) |
An SPI transfer timeout.
◆ ECODE_EMDRV_SPIDRV_IDLE
#define ECODE_EMDRV_SPIDRV_IDLE ( ECODE_EMDRV_SPIDRV_BASE | 0x00000006) |
No SPI transfer in progress.
◆ ECODE_EMDRV_SPIDRV_ABORTED
#define ECODE_EMDRV_SPIDRV_ABORTED ( ECODE_EMDRV_SPIDRV_BASE | 0x00000007) |
An SPI transfer has been aborted.
◆ ECODE_EMDRV_SPIDRV_MODE_ERROR
#define ECODE_EMDRV_SPIDRV_MODE_ERROR ( ECODE_EMDRV_SPIDRV_BASE | 0x00000008) |
SPI master used slave API or vica versa.
◆ ECODE_EMDRV_SPIDRV_DMA_ALLOC_ERROR
#define ECODE_EMDRV_SPIDRV_DMA_ALLOC_ERROR ( ECODE_EMDRV_SPIDRV_BASE | 0x00000009) |
Unable to allocate DMA channels.