- 6
- 0
- 约2.31万字
- 约 98页
- 2016-05-15 发布于湖北
- 举报
* 例:DMA Step0:CPU检查DMA的状态以确认是否可用 While(1) { Read(0x30004,status) if(status == 0) break; } * 例:DMA Step1:CPU设置(source address)、(destination address)(size) Write (0x30008,0x10000) Write(0x3000C,0x20000) Write(0x30010,0x100) Step 2: 启动DMA Write(0x30000,0x1) * 例:DMA Step3: DMA把数据从memory 1 传送到memory 2 * 例:DMA Step 4:DMA 向CPU发出中断请求 Step 5:CPU检查DMA的状态 Read(0x30004, status) * All systems require some master to be granted at any time. If no master is requesting then you should grant a master by default. However there are two types of “default” master. The first is a simple dumm
原创力文档

文档评论(0)