?? sd_extern.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
// *********************************************************************************
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -