Searched refs:pCardInfo (Results 1 – 4 of 4) sorted by relevance
1520 HAL_SD_ErrorTypedef HAL_SD_Get_CardInfo(SD_HandleTypeDef *hsd, HAL_SD_CardInfoTypedef *pCardInfo) in HAL_SD_Get_CardInfo() argument1525 pCardInfo->CardType = (uint8_t)(hsd->CardType); in HAL_SD_Get_CardInfo()1526 pCardInfo->RCA = (uint16_t)(hsd->RCA); in HAL_SD_Get_CardInfo()1530 pCardInfo->SD_csd.CSDStruct = (uint8_t)((tmp & 0xC0) >> 6); in HAL_SD_Get_CardInfo()1531 pCardInfo->SD_csd.SysSpecVersion = (uint8_t)((tmp & 0x3C) >> 2); in HAL_SD_Get_CardInfo()1532 pCardInfo->SD_csd.Reserved1 = tmp & 0x03; in HAL_SD_Get_CardInfo()1536 pCardInfo->SD_csd.TAAC = (uint8_t)tmp; in HAL_SD_Get_CardInfo()1540 pCardInfo->SD_csd.NSAC = (uint8_t)tmp; in HAL_SD_Get_CardInfo()1544 pCardInfo->SD_csd.MaxBusClkFrec = (uint8_t)tmp; in HAL_SD_Get_CardInfo()1548 pCardInfo->SD_csd.CardComdClasses = (uint16_t)(tmp << 4); in HAL_SD_Get_CardInfo()[all …]
2573 HAL_StatusTypeDef HAL_SD_GetCardInfo(SD_HandleTypeDef *hsd, HAL_SD_CardInfoTypeDef *pCardInfo) in HAL_SD_GetCardInfo() argument2575 pCardInfo->CardType = (uint32_t)(hsd->SdCard.CardType); in HAL_SD_GetCardInfo()2576 pCardInfo->CardVersion = (uint32_t)(hsd->SdCard.CardVersion); in HAL_SD_GetCardInfo()2577 pCardInfo->Class = (uint32_t)(hsd->SdCard.Class); in HAL_SD_GetCardInfo()2578 pCardInfo->RelCardAdd = (uint32_t)(hsd->SdCard.RelCardAdd); in HAL_SD_GetCardInfo()2579 pCardInfo->BlockNbr = (uint32_t)(hsd->SdCard.BlockNbr); in HAL_SD_GetCardInfo()2580 pCardInfo->BlockSize = (uint32_t)(hsd->SdCard.BlockSize); in HAL_SD_GetCardInfo()2581 pCardInfo->LogBlockNbr = (uint32_t)(hsd->SdCard.LogBlockNbr); in HAL_SD_GetCardInfo()2582 pCardInfo->LogBlockSize = (uint32_t)(hsd->SdCard.LogBlockSize); in HAL_SD_GetCardInfo()
692 HAL_SD_ErrorTypedef HAL_SD_Get_CardInfo(SD_HandleTypeDef *hsd, HAL_SD_CardInfoTypedef *pCardInfo);
775 …StatusTypeDef HAL_SD_GetCardInfo (SD_HandleTypeDef *hsd, HAL_SD_CardInfoTypeDef *pCardInfo);