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

📄 sddriver.h__.htm

📁 周立功的SD卡源代码,请大家参考,希望对大家有所帮助,
💻 HTM
字号:
<html><head><title>SD卡读写模块.rar - sddriver.h</title></head><body>
<script language="JavaScript">
function openwin(url)
{
 window.open(url, 'ProgramSourceCode');
}
</script>
<textarea cols=105 rows=17>文件头:
/****************************************Copyright (c)**************************************************

**                               Guangzhou ZLG-MCU Development Co.,LTD.

**                                      graduate school

**                                 http://www.zlgmcu.com

**

**--------------File Info-------------------------------------------------------------------------------

** File name:			sddriver.h

** Last modified Date:	2005-1-6

** Last Version:		V1.0

** Descriptions:		sd 卡驱动软件包: 用户API函数(头文件)

**						Soft Packet of SD Card Driver: user API funciton(header file)

**

**------------------------------------------------------------------------------------------------------

** Created by:			Ming Yuan Zheng

** Created date:		2005-1-6

** Version:				V1.0

** Descriptions:		The original version

**

**------------------------------------------------------------------------------------------------------

** Modified by:			

** Modified date:		

</textarea><BR>
<table width=756 border=0>
<tr><td width=1 bgcolor=#B0B0B0></td><td>
<script type="text/javascript"><!--
google_ad_client = "pub-8055710228382273";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "333333";
google_color_url = "666666";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
<td width=15 bgcolor=#E4E0D8></td></tr></table>
<textarea cols=105 rows=12>文件尾:
AD_BL_LEN



#define C_SIZE_POS1			6			//C_SIZE upper  2-bit

#define C_SIZE_POS2			7			//C_SIZE middle 8-bit

#define C_SIZE_POS3			8			//C_SIZE lower	2-bit



#define C_SIZE_MULT_POS1	9			//C_SIZE_MULT upper 2-bit

#define C_SIZE_MULT_POS2	10			//C_SIZE_MULT lower 1-bit	



#define SECTOR_SIZE_POS1	10			//SECTOR_SIZE upper 5-bit

#define SECTOR_SIZE_POS2	11			//SECTOR_SIZE lower 2-bit



#define R2WFACTOR_POS 		12			//R2WFACTOR_POS





//CSD中一些域的掩码

#define TAAC_MSK			0x07		//TACC 域掩码

#define NSAC_MSK			0x78		//NSAC 域掩码



#define READ_BL_LEN_MSK		0x0F		//READ_BL_LEN 的掩码



#define C_SIZE_MSK1			0x03		//C_SIZE 高2位掩码

#define C_SIZE_MSK3			0xC0		//C_SIZE 低2位掩码



#define C_SIZE_MULT_MSK1 	0x03		//C_SIZE_MULT 的高2位掩码

#define C_SIZE_MULT_MSK2 	0x80		//C_SIZE_MULT 的低2位掩码



#define R2WFACTOR_MSK		0x1C		//R2WFACTOR 掩码



#define SECTOR_SIZE_MSK1	0x3F		//SECTOR_SIZE 的高5位

#define SECTOR_SIZE_MSK2	0x80		//SECTOR_SIZE 的低2位





                    </textarea><BR>
<a href=http://www.pudn.com><small><font color=#A0A0A0>程序员联合开发网</font></small></a>&nbsp;&nbsp;<a href="/downloads28\sourcecode\embed/detail90300.html"><small><font color=#A0A0A0>返回SD卡读写模块.rar</font></small></a>
&nbsp;&nbsp;<a href="javascript:openwin('/view_src.asp?id=90300&f=SD卡读写模块/SD/sddriver.h');"><small><font color=#A00000>在线阅读整个文件</font></small></a>
</body></html>

⌨️ 快捷键说明

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