📄 pccard.h
字号:
#ifndef __PCCARD_H__
#define __PCCARD_H__
//#include "fat.h"
#include "Def.h"
class PCCARD
{
protected:
void ReadRegister(U32 nRegister, U8& data);
void WriteRegister(U32 nRegister, U8 nValue);
void GetDataFromDevice(U16& uData);
void PutDataToDevice(U16 nData);
public:
bool ChangeMode(U32 mode);
bool OpenMedia(U32 mode);
bool CloseMedia(void);
void GetAttribData(U32 index, U8& data);
virtual bool ReadBlocks(U32 uStBlock, U32 uBlocks, U32 uBufAddr);
virtual bool WriteBlocks(U32 uStBlock, U32 uBlocks, U32 uBufAddr);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -