enum EDMA3_RM_TccStatus |
This enum defines the channel specific status codes of an EDMA3 transfer. It is returned while calling the channel specific callback function to tell the status.
enum EDMA3_RM_GlobalError |
This enum defines the global (not specific to any channel) error codes of completion of an EDMA3 transfer.
EDMA3_RM_E_CC_QUE_THRES_EXCEED |
Threshold exceed:- for all event queues. These get latched in EDMA3CC error register (CCERR). This error has a direct relation with the setting of EDMA3_RM_GblConfigParams.evtQueueWaterMarkLvl |
EDMA3_RM_E_CC_TCC |
TCC error:- for outstanding transfer requests expected to return completion code (TCCHEN or TCINTEN bit in OPT is set to 1) exceeding the maximum limit of 63. This also gets latched in the CCERR. |
EDMA3_RM_E_TC_MEM_LOCATION_READ_ERROR |
Transfer Controller has reported an error Detection of a Read error signaled by the source or destination address |
EDMA3_RM_E_TC_MEM_LOCATION_WRITE_ERROR |
Detection of a Write error signaled by the source or destination address |
EDMA3_RM_E_TC_INVALID_ADDR |
Attempt to read or write to an invalid address in the configuration memory map. |
EDMA3_RM_E_TC_TR_ERROR |
Detection of a FIFO mode TR violating the FIFO mode transfer rules (the source/destination addresses and source/destination indexes must be aligned to 32 bytes). |
enum EDMA3_RM_ResType |
DMA Channels assigned to different Hardware Events.
They should be used while requesting a specific DMA channel. One possible usage is to maintain a SoC specific file, which will contain the mapping of these hardware events to the respective peripherals for better understanding and lesser probability of errors. Also, if any event associated with a particular peripheral gets changed, only that SoC specific file needs to be changed. for eg, the sample SoC specific file "soc.h" can have these defines:
define EDMA3_RM_HW_CHANNEL_MCBSP_TX EDMA3_RM_HW_CHANNEL_EVENT_2 define EDMA3_RM_HW_CHANNEL_MCBSP_RX EDMA3_RM_HW_CHANNEL_EVENT_3
These defines will be used by the MCBSP driver. The same event EDMA3_RM_HW_CHANNEL_EVENT_2/3 could be mapped to some other peripheral also.
QDMA Trigger Word.
Use this enum to set the QDMA trigger word to any of the 8 DWords(uint32_t) within a Parameter RAM set
CC/TC Physical Address.
Use this enum to get the physical address of the Channel Controller or the Transfer Controller. The address returned could be used by the advanced users to set/get some specific registers direclty.
enum EDMA3_RM_IoctlCmd |
EDMA3 Resource Manager IOCTL commands.