sd_extern.h
来自「文件包含了开发motorola mc9s12uf32单片机一些源码。 1、U」· C头文件 代码 · 共 54 行
H
54 行
/*********************************************************************
(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 + =
减小字号Ctrl + -
显示快捷键?