struct DMA_Des_s { BYTE DD_Flags; // channel width; see below BYTE DD_Alloc_Chan; // allocated channel number BYTE DD_Req_Mask; // mask of requested channels; see below BYTE DD_Reserved; // reserved; do not use }; typedef struct DMA_Des_s DMA_DES;
Contains information about DMA descriptors.
DD_Flags
Channel width flags. Can be one of these values:
fDD_BYTE | 8-bit channel |
fDD_WORD | 16-bit channel |
fDD_DWORD | 32-bit channel |
DD_Req_Mask
Mask of requested DMA channels. Bit 0 is set to request channel 0, bit 1 to request channel 1, and so on. More than one bit is set to indicate alternative channel allocations.