/* a DMA_Channel. users should not access the fields in this structure */
typedef struct DMA_Channel
{
int c_number; /* physical hardware DMA channel */
/* the following junk is all here to support DMA_channel_status */
/* first entry in chaining operation so DMA_channel_status can scan down
* the list and find where it is up to. */
int *c_chainstart;
/* a faked up descriptor for single (non-chained) transfers; only used for
* DMA_channel_status. */
char c_singledesc;
} DMA_Channel;
/* Start or restart (after a stop) a DMA operation.
* The operation will stop automatically when complete.
*/
void DMA_channel_start(DMA_Channel *channel /* DMA channel to start */){}
syntax highlighted by Code2HTML, v. 0.9.1