typedef struct
{
__IO uint8_t CSDStruct;
__IO uint8_t SysSpecVersion;
__IO uint8_t Reserved1;
__IO uint8_t TAAC;
__IO uint8_t NSAC;
__IO uint8_t MaxBusClkFrec;
__IO uint16_t CardComdClasses;
__IO uint8_t RdBlockLen;
__IO uint8_t PartBlockRead;
__IO uint8_t WrBlockMisalign;
__IO uint8_t RdBlockMisalign;
__IO uint8_t DSRImpl;
__IO uint8_t Reserved2;
__IO uint32_t DeviceSize;
__IO uint8_t MaxRdCurrentVDDMin;
__IO uint8_t MaxRdCurrentVDDMax;
__IO uint8_t MaxWrCurrentVDDMin;
__IO uint8_t MaxWrCurrentVDDMax;
__IO uint8_t DeviceSizeMul;
__IO uint8_t EraseGrSize;
__IO uint8_t EraseGrMul;
__IO uint8_t WrProtectGrSize;
__IO uint8_t WrProtectGrEnable;
__IO uint8_t ManDeflECC;
__IO uint8_t WrSpeedFact;
__IO uint8_t MaxWrBlockLen;
__IO uint8_t WriteBlockPaPartial;
__IO uint8_t Reserved3;
__IO uint8_t ContentProtectAppli;
__IO uint8_t FileFormatGroup;
__IO uint8_t CopyFlag;
__IO uint8_t PermWrProtect;
__IO uint8_t TempWrProtect;
__IO uint8_t FileFormat;
__IO uint8_t ECC;
__IO uint8_t CSD_CRC;
__IO uint8_t Reserved4;
}HAL_SD_CardCSDTypeDef;