Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

7.7.5.1. DMA Transmit Channel

Example 7–2. alt_dma_txchan Structure

typedef struct alt_dma_txchan_dev_s alt_dma_txchan_dev;
struct alt_dma_txchan_dev_s
{
alt_llist llist;
const char* name;
int (*space) (alt_dma_txchan dma);
int (*send) (alt_dma_txchan dma,
const void* from,
alt_u32 len,
alt_txchan_done* done,
void* handle);
int (*ioctl) (alt_dma_txchan dma, int req, void* arg);
};