vr1.1

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of CDMS_RTOS_v1_1 by Team Fox

Committer:
cholletisaik777
Date:
Mon Jul 06 06:25:14 2015 +0000
Revision:
11:d6dc9074075b
Parent:
8:607ae92fa6af
Child:
12:cb3ee1ac3638
changes made

Who changed what in which revision?

UserRevisionLine numberNew contents of line
cholletisaik777 0:d6e3d1e21484 1 #define SD_COMMAND_TIMEOUT 5000
cholletisaik777 0:d6e3d1e21484 2
cholletisaik777 0:d6e3d1e21484 3 #define SD_DBG 0
cholletisaik777 0:d6e3d1e21484 4
cholletisaik777 0:d6e3d1e21484 5 #define R1_IDLE_STATE (1 << 0)
cholletisaik777 0:d6e3d1e21484 6 #define R1_ERASE_RESET (1 << 1)
cholletisaik777 0:d6e3d1e21484 7 #define R1_ILLEGAL_COMMAND (1 << 2)
cholletisaik777 0:d6e3d1e21484 8 #define R1_COM_CRC_ERROR (1 << 3)
cholletisaik777 0:d6e3d1e21484 9 #define R1_ERASE_SEQUENCE_ERROR (1 << 4)
cholletisaik777 0:d6e3d1e21484 10 #define R1_ADDRESS_ERROR (1 << 5)
cholletisaik777 0:d6e3d1e21484 11 #define R1_PARAMETER_ERROR (1 << 6)
cholletisaik777 0:d6e3d1e21484 12
cholletisaik777 0:d6e3d1e21484 13 #define SDCARD_FAIL 0
cholletisaik777 0:d6e3d1e21484 14 #define SDCARD_V1 1
cholletisaik777 0:d6e3d1e21484 15 #define SDCARD_V2 2
cholletisaik777 11:d6dc9074075b 16 #define SDCARD_V2HC 3
cholletisaik777 11:d6dc9074075b 17
cholletisaik777 11:d6dc9074075b 18 int count_bro;
cholletisaik777 11:d6dc9074075b 19 int cdv;
cholletisaik777 11:d6dc9074075b 20 uint64_t sectors;
cholletisaik777 11:d6dc9074075b 21 extern uint64_t all_flags;