unit SDMMC_Utils;

// --------------------------------------
// -------------- interface -------------
// --------------------------------------

procedure SDMMC_CID_CSD_mirror(var dat: array[16] of byte);
// helproutine to mirror the SID/MSD data array

function SDMMC_CardSize_Sectors: DWord;
// Returns the card's raw size in sectors (512 bytes per sector)

function SDMMC_CardSize: DWord;
// Returns the card's raw size in bytes

procedure SDMMC_ProductName(var S: string[5]);
// Returns the card's productname

procedure SDMMC_ProductRevision(var S: string[3]);
// Returns the card's productrevision

function SDMMC_ProductSerialNumber: DWord;
// Returns the card's product serial number

procedure SDMMC_ProductManufacturingDate(var S: string[7]);
// returns the card's manufacturing date