摘要: 一、摘要本篇博文实现了DMA的3种传输方式。二、实验平台1、Quartus II9.0 + Nios II9.02、USB_Board三、实验内容1、存储器到存储器这种情况下需要同时打开发送通道和接收通道,而且源地址和目标地址都是自增的。tx = alt_dma_txchan_open("/dev/dma_0");//打开发送通道dma_res = alt_dma_txchan_send(tx, tx_buf, 32, NULL, NULL); // tx_buf是源地址rx = alt_dma_rxchan_open("/dev/dma_0");//打 阅读全文
posted @ 2012-03-15 23:21 sunev 阅读(10126) 评论(2) 推荐(1) 编辑