Error Codes
Description
Macros |
|
#define | ECODE_EMDRV_DMADRV_OK ( ECODE_OK ) |
A successful return value.
|
|
#define | ECODE_EMDRV_DMADRV_PARAM_ERROR ( ECODE_EMDRV_DMADRV_BASE | 0x00000001) |
An illegal input parameter.
|
|
#define | ECODE_EMDRV_DMADRV_NOT_INITIALIZED ( ECODE_EMDRV_DMADRV_BASE | 0x00000002) |
DMA is not initialized.
|
|
#define | ECODE_EMDRV_DMADRV_ALREADY_INITIALIZED ( ECODE_EMDRV_DMADRV_BASE | 0x00000003) |
DMA has already been initialized.
|
|
#define | ECODE_EMDRV_DMADRV_CHANNELS_EXHAUSTED ( ECODE_EMDRV_DMADRV_BASE | 0x00000004) |
No DMA channels available.
|
|
#define | ECODE_EMDRV_DMADRV_IN_USE ( ECODE_EMDRV_DMADRV_BASE | 0x00000005) |
DMA is in use.
|
|
#define | ECODE_EMDRV_DMADRV_ALREADY_FREED ( ECODE_EMDRV_DMADRV_BASE | 0x00000006) |
A DMA channel was free.
|
|
#define | ECODE_EMDRV_DMADRV_CH_NOT_ALLOCATED ( ECODE_EMDRV_DMADRV_BASE | 0x00000007) |
A channel is not reserved.
|
|
Macro Definition Documentation
◆ ECODE_EMDRV_DMADRV_OK
#define ECODE_EMDRV_DMADRV_OK ( ECODE_OK ) |
A successful return value.
◆ ECODE_EMDRV_DMADRV_PARAM_ERROR
#define ECODE_EMDRV_DMADRV_PARAM_ERROR ( ECODE_EMDRV_DMADRV_BASE | 0x00000001) |
An illegal input parameter.
◆ ECODE_EMDRV_DMADRV_NOT_INITIALIZED
#define ECODE_EMDRV_DMADRV_NOT_INITIALIZED ( ECODE_EMDRV_DMADRV_BASE | 0x00000002) |
DMA is not initialized.
◆ ECODE_EMDRV_DMADRV_ALREADY_INITIALIZED
#define ECODE_EMDRV_DMADRV_ALREADY_INITIALIZED ( ECODE_EMDRV_DMADRV_BASE | 0x00000003) |
DMA has already been initialized.
◆ ECODE_EMDRV_DMADRV_CHANNELS_EXHAUSTED
#define ECODE_EMDRV_DMADRV_CHANNELS_EXHAUSTED ( ECODE_EMDRV_DMADRV_BASE | 0x00000004) |
No DMA channels available.
◆ ECODE_EMDRV_DMADRV_IN_USE
#define ECODE_EMDRV_DMADRV_IN_USE ( ECODE_EMDRV_DMADRV_BASE | 0x00000005) |
DMA is in use.
◆ ECODE_EMDRV_DMADRV_ALREADY_FREED
#define ECODE_EMDRV_DMADRV_ALREADY_FREED ( ECODE_EMDRV_DMADRV_BASE | 0x00000006) |
A DMA channel was free.
◆ ECODE_EMDRV_DMADRV_CH_NOT_ALLOCATED
#define ECODE_EMDRV_DMADRV_CH_NOT_ALLOCATED ( ECODE_EMDRV_DMADRV_BASE | 0x00000007) |
A channel is not reserved.