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

📄 sdmmc.h

📁 SD卡的其本操作函数
💻 H
字号:
extern	data	U8	gc_CurrentCard;
extern	data	U8	gc_ReadWriteTimeOut;
extern	data	U8	gc_ReadWriteDataArea;

extern	xdata	U8	gc_SD_OCR[4];
extern	xdata	U8	gc_SD_RCA[2];
extern	xdata	U8	gc_SD_CID[16];
extern	xdata	U8	gc_SD_CSD[16];
extern	xdata	U16	gw_SD_BlockSize;
extern	xdata	U32	gw_SD_BlockNum;	

extern	void	SD_SetClock(U8 ClockValue);
extern	void	SdDetect(void);
extern	void	CommandToSd(U8 *ComBuff);
extern	void	SdTxDummy(void); 
extern	void	SDWaitIdle(void);
extern	void	SD_SetBlockLen(U16 BlockSize);
extern	bit		STORAGE_Detect();
extern	U8		SD_SetInterface(U8 tc_CurrCard);
extern	U8		SDIdentification(U8 tc_CurrCard);
extern	U8		SDToRespond(U8 *tc_RespBuff,U8 tc_RespType,U8 tc_CRC);
extern	U8		SDCheckDat0(void);
extern	U8		SD_SetBusWidth(U8 tc_BusMode);
extern	U8		SD_Initializes(U8 tc_CurrCard);
extern	U8		SD_StandByToTrans(void);
extern	U8		SD_STORAGE_Initialize(void);
extern	U8		SD_Read_LogicSector (U32 tdw_LogicSectorAddr,U32 tdw_ReadSectorNumber);
extern	U8		SD_Write_LogicSector(U32 tdw_LogicSectorAddr,U32 tdw_WriteSectorNumber);

⌨️ 快捷键说明

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