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

📄 sd_extern.h

📁 文件包含了开发motorola mc9s12uf32单片机一些源码。  1、USB device 实现  2、CF卡读取  3、SD卡读取  4、ATA硬盘读取
💻 H
字号:
/*********************************************************************
 
  (c) copyright Freescale Semiconductor Hong Kong Ltd 2004
  ALL RIGHTS RESERVED
 
 *********************************************************************
 
                   SD Driver Module for S12 MCUs 
 
 *********************************************************************

  File:			Ext_sd_reg.c
 
  Description:  Prototypes of global variable of SD Driver
 
  Date:         Jul. 2003
  Author:		Taine Chang
  
 ********************************************************************/

#ifndef _H_EXT_SD_REG_		// To avoid multiple defining
#define _H_EXT_SD_REG_		// start of Constants & Macros definition

//#include	"sd_def.h"
	

//#pragma CODE_SEG DEFAULT
//#pragma DATA_SEG __SHORT_SEG MY_REGISTER //  //MY_ZEROPAGE //SHORT MY_RAM

// *********************************************************************
//
//	               EXPORTED FUNCTIONS FOR OTHER MODULES
//
//   (Can be called by other modules like Application, Drivers...etc)
//
// *********************************************************************

#ifndef _SD_GLOBAL_DECL_
#define _SD_GLOBAL_DECL_ extern
#endif
_SD_GLOBAL_DECL_ volatile muint32	gSD_LBA;
_SD_GLOBAL_DECL_ muint8 	gSD_DSCR_B, gSD_DB_Counter;
_SD_GLOBAL_DECL_ mint16		gSD_SDSATAT;
_SD_GLOBAL_DECL_ muint32	gSD_Capacity;
_SD_GLOBAL_DECL_ muint8		gSD_SDcard;
_SD_GLOBAL_DECL_ muint16	gSD_CID[8], gSD_CSD[8];
_SD_GLOBAL_DECL_ muint16  	gSD_RCA;		
_SD_GLOBAL_DECL_ muint16  	gSD_BlockCounter;		
//extern muint32 SD_BlockAddressInWritePage;

#endif	_H_EXT_SD_REG_		// end of my external variables definition
//
// The end of file sd_extern.h 
// *********************************************************************************

⌨️ 快捷键说明

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