Add feature to check&retry CRC read errors on SD.

This commit is contained in:
daid
2014-05-01 12:03:41 +02:00
parent 084134d3c7
commit 8b4c4aa5c3
5 changed files with 88 additions and 2 deletions

View File

@ -103,6 +103,8 @@ uint8_t const SD_CARD_ERROR_WRITE_TIMEOUT = 0X17;
uint8_t const SD_CARD_ERROR_SCK_RATE = 0X18;
/** init() not called */
uint8_t const SD_CARD_ERROR_INIT_NOT_CALLED = 0X19;
/** crc check error */
uint8_t const SD_CARD_ERROR_CRC = 0X20;
//------------------------------------------------------------------------------
// card types
/** Standard capacity V1 SD card */