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_DRV_HW_CHANNEL_MCBSP_TX EDMA3_DRV_HW_CHANNEL_EVENT_2 define EDMA3_DRV_HW_CHANNEL_MCBSP_RX EDMA3_DRV_HW_CHANNEL_EVENT_3
These defines will be used by the MCBSP driver. The same event EDMA3_DRV_HW_CHANNEL_EVENT_2/3 could be mapped to some other peripheral also.
enum EDMA3_DRV_OptField |
OPT Field Offset.
Use this enum to set or get any of the Fields within an OPT of a Parameter RAM set.
enum EDMA3_DRV_AddrMode |
EDMA Addressing modes.
The EDMA3 TC supports two addressing modes
The SAM (Source Addressing Mode) and the DAM (Destination Addressing Mode) can be independently set to either of the two via the OPT register.
enum EDMA3_DRV_SyncType |
EDMA Transfer Synchronization type.
Two types of Synchronization of transfers are possible
A Sync
enum EDMA3_DRV_StaticMode |
True/False: PaRAM set is Static or not. A Static PaRAM set is updated or linked after TR is submitted.
enum EDMA3_DRV_FifoWidth |
EDMA3 FIFO width.
The user can set the width of the FIFO using this enum. This is done via the OPT register. This is valid only if the EDMA3_DRV_ADDR_MODE_FIFO value is used for the enum EDMA3_DRV_AddrMode.
enum EDMA3_DRV_TccMode |
Transfer complete code mode. Indicates the point at which a transfer is considered completed for chaining and interrupt generation.
enum EDMA3_DRV_TcintEn |
Transfer complete interrupt enable.
enum EDMA3_DRV_ItcintEn |
Intermediate Transfer complete interrupt enable.
enum EDMA3_DRV_TcchEn |
Transfer complete chaining enable.
enum EDMA3_DRV_ItcchEn |
Intermediate Transfer complete chaining enable.
enum EDMA3_DRV_TrigMode |
EDMA Trigger Mode Selection.
Use this enum to select the EDMA trigger mode while enabling the EDMA transfer
enum EDMA3_DRV_PaRAMEntry |
PaRAM Set Entry type.
Use this enum to set or get any of the 8 DWords(uint32_t) within a Parameter RAM set
enum EDMA3_DRV_PaRAMField |
PaRAM Set Field type.
Use this enum to set or get any of the PaRAM set fields
enum EDMA3_DRV_IoctlCmd |
EDMA3 Driver IOCTL commands.
enum EDMA3_DRV_Tc_Err |
TC Error Enablers.
Use this enum to enable/disable the specific EDMA3 Transfer Controller Interrupts.