4.17.2009

SD Register in SDBUS driver

MS SDBUS driver 的 SD Card Register Structure:
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

沒有留言: