vr1.1
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of CDMS_RTOS_v1_1 by
Diff: SDCard.h
- Revision:
- 8:607ae92fa6af
- Parent:
- 7:c270a9e37290
- Child:
- 11:d6dc9074075b
--- a/SDCard.h Fri Jul 03 08:38:12 2015 +0000 +++ b/SDCard.h Sat Jul 04 08:56:34 2015 +0000 @@ -1,7 +1,3 @@ -#include "mbed.h" -#include "mbed_debug.h" - - #define SD_COMMAND_TIMEOUT 5000 #define SD_DBG 0 @@ -14,35 +10,7 @@ #define R1_ADDRESS_ERROR (1 << 5) #define R1_PARAMETER_ERROR (1 << 6) - -int initialise_card(); -int initialise_card_v1(); -int initialise_card_v2(); -int disk_initialize(); -int FCTN_WR_SD(const uint8_t *, uint64_t); -int FCTN_RD_SD(uint8_t *, uint64_t); -int cmd(int, int); -int cmd58(); -int cmdx(int, int); -int cmd8(); -int *FCTN_INIT_SD(); - -uint64_t sd_sectors(); - - -int read(uint8_t*, uint32_t ); -int write(const uint8_t*, uint32_t ); -static uint32_t ext_bits(unsigned char *, int , int ); - - - - #define SDCARD_FAIL 0 #define SDCARD_V1 1 #define SDCARD_V2 2 -#define SDCARD_V2HC 3 - - - - - \ No newline at end of file +#define SDCARD_V2HC 3 \ No newline at end of file