typedef struct _SDCARD_CARD_REGISTERS {
union {
UCHAR OCR[SD_OCR_REGISTER_SIZE]; // SD OCR
UCHAR IO_OCR[SD_IO_OCR_REGISTER_SIZE]; // IO OCR
};
UCHAR CID[SD_CID_REGISTER_SIZE]; // CID
UCHAR CSD[SD_CSD_REGISTER_SIZE]; // CSD
UCHAR SCR[SD_SCR_REGISTER_SIZE]; // SCR
}SDCARD_CARD_REGISTERS, *PSDCARD_CARD_REGISTERS;
在 \\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\SDCARD\SDBUS\sddevice.hpp
這個variable 宣告在 CSDDevice 中:
SDCARD_CARD_REGISTERS m_CachedRegisters; // cached registers
沒有留言:
張貼留言