文件名称:SD卡读写源码
文件大小:1KB
文件格式:RAR
更新时间:2016-06-20 16:37:54
SD 卡 读写 程序 源码
uint8 SD_initial(); uint8 SD_response(uint8 responseData, uint8 tryTimes); uint8 SD_writeCommand(uint8 command, uint32 arg, uint8 crc, uint8 responseData); uint8 SD_writeBlock(uint32 arg, uint8 *blockData); uint8 SD_readBlock(uint32 arg, uint8 *readBackBlock); uint8 SD_readRegister(uint8 command, uint8 *registerData, uint8 registerLen); uint8 SD_readData(uint32 sector, uint8 *readBackData, uint16 startByte, uint16 length); uint8 SD_writeData(uint32 sector, uint8 *writeData, uint16 startByte, uint16 length);
【文件预览】:
sdcard.c