⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sddma.h

📁 周立功开发板smartArm2300的sd示例程序。
💻 H
字号:


#ifndef __DMA_H 
#define __DMA_H

#define DMA_SRC			0x7FD00000		/* This is the area original data is stored
										or data to be written to the SD/MMC card. */
#define DMA_DST			0x7FD01000		/* This is the area, after writing to the SD/MMC,
										data read from the SD/MMC card. */
#define DMA_MCIFIFO		0xE008C080
#define DMA_SIZE		SD_BLOCKSIZE	/* DMA_SIZE is the same BLOCK_LENGTH defined in mci.h */

/* DMA mode */
#define M2M				0x00
#define M2P				0x01
#define P2M				0x02
#define P2P				0x03

extern INT32U DMA_Init(INT32U ChannelNum, INT32U DMAMode);

#endif /* end __DMA_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -