Defines | |
#define | EDMA3_RM_RES_ANY (1010u) |
Used to specify any available Resource Id (EDMA3_RM_ResDesc.resId). | |
#define | EDMA3_RM_E_BASE (-155) |
#define | EDMA3_RM_E_OBJ_NOT_DELETED (EDMA3_RM_E_BASE) |
#define | EDMA3_RM_E_OBJ_NOT_CLOSED (EDMA3_RM_E_BASE-1) |
#define | EDMA3_RM_E_OBJ_NOT_OPENED (EDMA3_RM_E_BASE-2) |
#define | EDMA3_RM_E_INVALID_PARAM (EDMA3_RM_E_BASE-3) |
#define | EDMA3_RM_E_RES_ALREADY_FREE (EDMA3_RM_E_BASE-4) |
#define | EDMA3_RM_E_RES_NOT_OWNED (EDMA3_RM_E_BASE-5) |
#define | EDMA3_RM_E_SPECIFIED_RES_NOT_AVAILABLE (EDMA3_RM_E_BASE-6) |
#define | EDMA3_RM_E_ALL_RES_NOT_AVAILABLE (EDMA3_RM_E_BASE-7) |
#define | EDMA3_RM_E_INVALID_STATE (EDMA3_RM_E_BASE-8) |
#define | EDMA3_RM_E_MAX_RM_INST_OPENED (EDMA3_RM_E_BASE-9) |
#define | EDMA3_RM_E_RM_MASTER_ALREADY_EXISTS (EDMA3_RM_E_BASE-10) |
#define | EDMA3_RM_E_CALLBACK_ALREADY_REGISTERED (EDMA3_RM_E_BASE-11) |
#define | EDMA3_RM_E_SEMAPHORE (EDMA3_RM_E_BASE-12) |
#define | EDMA3_RM_E_FEATURE_UNSUPPORTED (EDMA3_RM_E_BASE-13) |
#define | EDMA3_RM_E_RES_NOT_ALLOCATED (EDMA3_RM_E_BASE-14) |
#define | EDMA3_RM_DMA_CHANNEL_ANY (1011u) |
#define | EDMA3_RM_QDMA_CHANNEL_ANY (1012u) |
#define | EDMA3_RM_TCC_ANY (1013u) |
#define | EDMA3_RM_PARAM_ANY (1014u) |
#define | EDMA3_RM_CH_NO_PARAM_MAP (1015u) |
#define | EDMA3_RM_CH_NO_TCC_MAP (1016u) |
#define EDMA3_RM_E_BASE (-155) |
Resource Manager Error Codes base define
#define EDMA3_RM_E_OBJ_NOT_DELETED (EDMA3_RM_E_BASE) |
Resource Manager Object Not Deleted yet. So the object cannot be created.
#define EDMA3_RM_E_OBJ_NOT_CLOSED (EDMA3_RM_E_BASE-1) |
Resource Manager Object Not Closed yet. So the object cannot be deleted.
#define EDMA3_RM_E_OBJ_NOT_OPENED (EDMA3_RM_E_BASE-2) |
Resource Manager Object Not Opened yet So the object cannot be closed.
#define EDMA3_RM_E_INVALID_PARAM (EDMA3_RM_E_BASE-3) |
Invalid Parameter passed to API
#define EDMA3_RM_E_RES_ALREADY_FREE (EDMA3_RM_E_BASE-4) |
Resource requested for freeing is already free
#define EDMA3_RM_E_RES_NOT_OWNED (EDMA3_RM_E_BASE-5) |
Resource requested for allocation/freeing is not owned
#define EDMA3_RM_E_SPECIFIED_RES_NOT_AVAILABLE (EDMA3_RM_E_BASE-6) |
Resource is not available
#define EDMA3_RM_E_ALL_RES_NOT_AVAILABLE (EDMA3_RM_E_BASE-7) |
No Resource of specified type is available
#define EDMA3_RM_E_INVALID_STATE (EDMA3_RM_E_BASE-8) |
Invalid State of EDMA3 RM Obj
#define EDMA3_RM_E_MAX_RM_INST_OPENED (EDMA3_RM_E_BASE-9) |
Maximum no of Res Mgr Instances already Opened
#define EDMA3_RM_E_RM_MASTER_ALREADY_EXISTS (EDMA3_RM_E_BASE-10) |
More than one Res Mgr Master Instance NOT supported. Only 1 master can exist.
#define EDMA3_RM_E_CALLBACK_ALREADY_REGISTERED (EDMA3_RM_E_BASE-11) |
Callback function already registered.
#define EDMA3_RM_E_SEMAPHORE (EDMA3_RM_E_BASE-12) |
Semaphore related error
#define EDMA3_RM_E_FEATURE_UNSUPPORTED (EDMA3_RM_E_BASE-13) |
Hardware feature NOT supported
#define EDMA3_RM_E_RES_NOT_ALLOCATED (EDMA3_RM_E_BASE-14) |
EDMA3 Resource NOT allocated
#define EDMA3_RM_DMA_CHANNEL_ANY (1011u) |
Used to specify any available DMA Channel while requesting one. Used in the API EDMA3_RM_allocLogicalChannel (). DMA channel from the pool of (owned && non_reserved && available_right_now) DMA channels will be chosen and returned.
#define EDMA3_RM_QDMA_CHANNEL_ANY (1012u) |
Used to specify any available QDMA Channel while requesting one. Used in the API EDMA3_RM_allocLogicalChannel(). QDMA channel from the pool of (owned && non_reserved && available_right_now) QDMA channels will be chosen and returned.
#define EDMA3_RM_TCC_ANY (1013u) |
Used to specify any available TCC while requesting one. Used in the API EDMA3_RM_allocLogicalChannel(), for both DMA and QDMA channels. TCC from the pool of (owned && non_reserved && available_right_now) TCCs will be chosen and returned.
#define EDMA3_RM_PARAM_ANY (1014u) |
Used to specify any available PaRAM Set while requesting one. Used in the API EDMA3_RM_allocLogicalChannel(), for both DMA/QDMA and Link channels. PaRAM Set from the pool of (owned && non_reserved && available_right_now) PaRAM Sets will be chosen and returned.
#define EDMA3_RM_CH_NO_PARAM_MAP (1015u) |
This define is used to specify that a DMA channel is NOT tied to any PaRAM Set and hence any available PaRAM Set could be used for that DMA channel. It could be used in dmaChannelPaRAMMap [EDMA3_MAX_DMA_CH], in global configuration structure EDMA3_RM_GblConfigParams.
This value should mandatorily be used to mark DMA channels with no initial mapping to specific PaRAM Sets.
#define EDMA3_RM_CH_NO_TCC_MAP (1016u) |
This define is used to specify that the DMA/QDMA channel is not tied to any TCC and hence any available TCC could be used for that DMA/QDMA channel. It could be used in dmaChannelTccMap [EDMA3_MAX_DMA_CH], in global configuration structure EDMA3_RM_GblConfigParams.
This value should mandatorily be used to mark DMA channels with no initial mapping to specific TCCs.