Error Codes#

Macros#

#define

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
Value:
(ECODE_OK)

A successful return value.


Definition at line 67 of file platform/emdrv/dmadrv/inc/dmadrv.h

ECODE_EMDRV_DMADRV_PARAM_ERROR#

#define ECODE_EMDRV_DMADRV_PARAM_ERROR
Value:
(ECODE_EMDRV_DMADRV_BASE | 0x00000001)

An illegal input parameter.


Definition at line 68 of file platform/emdrv/dmadrv/inc/dmadrv.h

ECODE_EMDRV_DMADRV_NOT_INITIALIZED#

#define ECODE_EMDRV_DMADRV_NOT_INITIALIZED
Value:
(ECODE_EMDRV_DMADRV_BASE | 0x00000002)

DMA is not initialized.


Definition at line 69 of file platform/emdrv/dmadrv/inc/dmadrv.h

ECODE_EMDRV_DMADRV_ALREADY_INITIALIZED#

#define ECODE_EMDRV_DMADRV_ALREADY_INITIALIZED
Value:
(ECODE_EMDRV_DMADRV_BASE | 0x00000003)

DMA has already been initialized.


Definition at line 70 of file platform/emdrv/dmadrv/inc/dmadrv.h

ECODE_EMDRV_DMADRV_CHANNELS_EXHAUSTED#

#define ECODE_EMDRV_DMADRV_CHANNELS_EXHAUSTED
Value:
(ECODE_EMDRV_DMADRV_BASE | 0x00000004)

No DMA channels available.


Definition at line 71 of file platform/emdrv/dmadrv/inc/dmadrv.h

ECODE_EMDRV_DMADRV_IN_USE#

#define ECODE_EMDRV_DMADRV_IN_USE
Value:
(ECODE_EMDRV_DMADRV_BASE | 0x00000005)

DMA is in use.


Definition at line 72 of file platform/emdrv/dmadrv/inc/dmadrv.h

ECODE_EMDRV_DMADRV_ALREADY_FREED#

#define ECODE_EMDRV_DMADRV_ALREADY_FREED
Value:
(ECODE_EMDRV_DMADRV_BASE | 0x00000006)

A DMA channel was free.


Definition at line 73 of file platform/emdrv/dmadrv/inc/dmadrv.h

ECODE_EMDRV_DMADRV_CH_NOT_ALLOCATED#

#define ECODE_EMDRV_DMADRV_CH_NOT_ALLOCATED
Value:
(ECODE_EMDRV_DMADRV_BASE | 0x00000007)

A channel is not reserved.


Definition at line 74 of file platform/emdrv/dmadrv/inc/dmadrv.h