Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SDFileSystem by
Diff: SDFileSystem.cpp
- Revision:
- 3:7b35d1709458
- Parent:
- 2:c8f66dc765d4
- Child:
- 4:3f40cbfe801c
--- a/SDFileSystem.cpp Thu Nov 29 10:56:21 2012 +0000 +++ b/SDFileSystem.cpp Mon Mar 17 14:34:01 2014 +0000 @@ -19,6 +19,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ + /* Introduction * ------------ * SD and MMC cards support a number of interfaces, but common to them all @@ -133,14 +134,10 @@ #define R1_PARAMETER_ERROR (1 << 6) // Types -// - v1.x Standard Capacity -// - v2.x Standard Capacity -// - v2.x High Capacity -// - Not recognised as an SD Card -#define SDCARD_FAIL 0 -#define SDCARD_V1 1 -#define SDCARD_V2 2 -#define SDCARD_V2HC 3 +#define SDCARD_FAIL 0 //!< v1.x Standard Capacity +#define SDCARD_V1 1 //!< v2.x Standard Capacity +#define SDCARD_V2 2 //!< v2.x High Capacity +#define SDCARD_V2HC 3 //!< Not recognised as an SD Card int SDFileSystem::initialise_card() { // Set to 100kHz for initialisation, and clock card with cs = 1