s3c2440的dma操作的一般步骤
时间:11-19
来源:互联网
点击:
七:
int s3c2410_dma_enqueue(unsigned int channel, void *id,
dma_addr_t data, int size)
发起一次dma传输
参数意义:
* id the device drivers id information for this buffer
* data the physical address of the buffer data
* size the size of the buffer in bytes
将dma_alloc_coherent中得到的dmaphys传递给s3c2410_dma_enqueue. s3c2410_dma_enqueue提交一次dma请求,当dma通道可用的时候通过s3c2410_dma_loadbuffer开始一次传输,传输完成后会产生irq中断。其dma的中断服务函数中会继续启动dma请求队列中的请求,传输剩下的数据。
s3c2440dma操 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)