SD Card Interface class. Log raw data bytes to memory addresses of your choice, or format the card and use the FAT file system to write files.

Dependencies:   mbed

Committer:
Blaze513
Date:
Sun Jan 16 09:20:30 2011 +0000
Revision:
6:ddf09d859ed7
Parent:
3:210eb67b260c
gave access to Initialization function to FAT module.
added disk formatting functionality.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Blaze513 3:210eb67b260c 1 //Modified by Thomas Hamilton, Copyright 2010
Blaze513 3:210eb67b260c 2
Blaze513 3:210eb67b260c 3 /*--------------------------------------------------------------------*/
Blaze513 3:210eb67b260c 4 /* Integer type definitions for FatFs module R0.08 (C)ChaN, 2010 */
Blaze513 3:210eb67b260c 5 /*--------------------------------------------------------------------*/
Blaze513 2:716abfa4a4d0 6
Blaze513 2:716abfa4a4d0 7 #ifndef _INTEGER
Blaze513 2:716abfa4a4d0 8 #define _INTEGER
Blaze513 2:716abfa4a4d0 9
Blaze513 2:716abfa4a4d0 10 #include "stdint.h"
Blaze513 2:716abfa4a4d0 11
Blaze513 2:716abfa4a4d0 12 /* These types must be 16-bit, 32-bit or larger integer */
Blaze513 2:716abfa4a4d0 13 typedef int INT;
Blaze513 2:716abfa4a4d0 14 typedef unsigned int UINT;
Blaze513 2:716abfa4a4d0 15
Blaze513 2:716abfa4a4d0 16 /* These types must be 8-bit integer */
Blaze513 6:ddf09d859ed7 17 typedef char CHAR;
Blaze513 2:716abfa4a4d0 18 typedef unsigned char UCHAR;
Blaze513 2:716abfa4a4d0 19 typedef unsigned char BYTE;
Blaze513 2:716abfa4a4d0 20
Blaze513 2:716abfa4a4d0 21 /* These types must be 16-bit integer */
Blaze513 2:716abfa4a4d0 22 typedef short SHORT;
Blaze513 2:716abfa4a4d0 23 typedef unsigned short USHORT;
Blaze513 2:716abfa4a4d0 24 typedef unsigned short WORD;
Blaze513 6:ddf09d859ed7 25 typedef unsigned short WCHAR;
Blaze513 2:716abfa4a4d0 26
Blaze513 2:716abfa4a4d0 27 /* These types must be 32-bit integer */
Blaze513 2:716abfa4a4d0 28 typedef long LONG;
Blaze513 2:716abfa4a4d0 29 typedef unsigned long ULONG;
Blaze513 2:716abfa4a4d0 30 typedef unsigned long DWORD;
Blaze513 2:716abfa4a4d0 31
Blaze513 2:716abfa4a4d0 32 /* Boolean type */
Blaze513 2:716abfa4a4d0 33 typedef enum { FALSE = 0, TRUE } BOOL;
Blaze513 2:716abfa4a4d0 34
Blaze513 1:94c648931f84 35 #endif