سلام
من کدهای MMC را میخواستم خیلی گشتم ولی ...
اگه کسی داره ما را هم باخبر کنه
ممنون
BY:SFARM
من کدهای MMC را میخواستم خیلی گشتم ولی ...
اگه کسی داره ما را هم باخبر کنه
ممنون
BY:SFARM
// MMC commands (taken from sandisk MMC reference) #define MMC_GO_IDLE_STATE 0 ///< initialize card to SPI-type access #define MMC_SEND_OP_COND 1 ///< set card operational mode #define MMC_SEND_CSD 9 ///< get card's CSD #define MMC_SEND_CID 10 ///< get card's CID #define MMC_SEND_STATUS 13 #define MMC_SET_BLOCKLEN 16 ///< Set number of bytes to transfer per block #define MMC_READ_SINGLE_BLOCK 17 ///< read a block #define MMC_WRITE_BLOCK 24 ///< write a block #define MMC_PROGRAM_CSD 27 #define MMC_SET_WRITE_PROT 28 #define MMC_CLR_WRITE_PROT 29 #define MMC_SEND_WRITE_PROT 30 #define MMC_TAG_SECTOR_START 32
#define MMC_TAG_SECTOR_END 33 #define MMC_UNTAG_SECTOR 34 #define MMC_TAG_ERASE_GROUP_START 35 ///< Sets beginning of erase group (mass erase) #define MMC_TAG_ERARE_GROUP_END 36 ///< Sets end of erase group (mass erase) #define MMC_UNTAG_ERASE_GROUP 37 ///< Untag (unset) erase group (mass erase) #define MMC_ERASE 38 ///< Perform block/mass erase #define MMC_CRC_ON_OFF 59 ///< Turns CRC check on/off
دیدگاه