/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_hal_pccard.c | 307 …eDef HAL_PCCARD_Read_ID(PCCARD_HandleTypeDef *hpccard, uint8_t CompactFlash_ID[], uint8_t *pStatus) in HAL_PCCARD_Read_ID() argument 325 *pStatus = PCCARD_READY; in HAL_PCCARD_Read_ID() 341 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Read_ID() 371 uint8_t *pStatus) in HAL_PCCARD_Read_Sector() argument 389 *pStatus = PCCARD_READY; in HAL_PCCARD_Read_Sector() 405 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Read_Sector() 419 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Read_Sector() 448 uint8_t *pStatus) in HAL_PCCARD_Write_Sector() argument 466 *pStatus = PCCARD_READY; in HAL_PCCARD_Write_Sector() 482 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Write_Sector() [all …]
|
D | stm32f2xx_hal_sd.c | 2099 HAL_StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus) in HAL_SD_GetCardStatus() argument 2116 pStatus->DataBusWidth = (uint8_t)((sd_status[0] & 0xC0U) >> 6U); in HAL_SD_GetCardStatus() 2118 pStatus->SecuredMode = (uint8_t)((sd_status[0] & 0x20U) >> 5U); in HAL_SD_GetCardStatus() 2120 …pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus() 2122 …pStatus->ProtectedAreaSize = (((sd_status[1] & 0xFFU) << 24U) | ((sd_status[1] & 0xFF00U) << 8U… in HAL_SD_GetCardStatus() 2125 pStatus->SpeedClass = (uint8_t)(sd_status[2] & 0xFFU); in HAL_SD_GetCardStatus() 2127 pStatus->PerformanceMove = (uint8_t)((sd_status[2] & 0xFF00U) >> 8U); in HAL_SD_GetCardStatus() 2129 pStatus->AllocationUnitSize = (uint8_t)((sd_status[2] & 0xF00000U) >> 20U); in HAL_SD_GetCardStatus() 2131 pStatus->EraseSize = (uint16_t)(((sd_status[2] & 0xFF000000U) >> 16U) | (sd_status[3] & 0xFFU)); in HAL_SD_GetCardStatus() 2133 pStatus->EraseTimeout = (uint8_t)((sd_status[3] & 0xFC00U) >> 10U); in HAL_SD_GetCardStatus() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_pccard.c | 308 …eDef HAL_PCCARD_Read_ID(PCCARD_HandleTypeDef *hpccard, uint8_t CompactFlash_ID[], uint8_t *pStatus) in HAL_PCCARD_Read_ID() argument 326 *pStatus = PCCARD_READY; in HAL_PCCARD_Read_ID() 342 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Read_ID() 372 uint8_t *pStatus) in HAL_PCCARD_Read_Sector() argument 390 *pStatus = PCCARD_READY; in HAL_PCCARD_Read_Sector() 406 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Read_Sector() 420 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Read_Sector() 449 uint8_t *pStatus) in HAL_PCCARD_Write_Sector() argument 467 *pStatus = PCCARD_READY; in HAL_PCCARD_Write_Sector() 483 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Write_Sector() [all …]
|
D | stm32f4xx_hal_sd.c | 2152 HAL_StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus) in HAL_SD_GetCardStatus() argument 2169 pStatus->DataBusWidth = (uint8_t)((sd_status[0] & 0xC0U) >> 6U); in HAL_SD_GetCardStatus() 2171 pStatus->SecuredMode = (uint8_t)((sd_status[0] & 0x20U) >> 5U); in HAL_SD_GetCardStatus() 2173 …pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus() 2175 …pStatus->ProtectedAreaSize = (((sd_status[1] & 0xFFU) << 24U) | ((sd_status[1] & 0xFF00U) << 8U… in HAL_SD_GetCardStatus() 2178 pStatus->SpeedClass = (uint8_t)(sd_status[2] & 0xFFU); in HAL_SD_GetCardStatus() 2180 pStatus->PerformanceMove = (uint8_t)((sd_status[2] & 0xFF00U) >> 8U); in HAL_SD_GetCardStatus() 2182 pStatus->AllocationUnitSize = (uint8_t)((sd_status[2] & 0xF00000U) >> 20U); in HAL_SD_GetCardStatus() 2184 pStatus->EraseSize = (uint16_t)(((sd_status[2] & 0xFF000000U) >> 16U) | (sd_status[3] & 0xFFU)); in HAL_SD_GetCardStatus() 2186 pStatus->EraseTimeout = (uint8_t)((sd_status[3] & 0xFC00U) >> 10U); in HAL_SD_GetCardStatus() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_pccard.c | 308 …eDef HAL_PCCARD_Read_ID(PCCARD_HandleTypeDef *hpccard, uint8_t CompactFlash_ID[], uint8_t *pStatus) in HAL_PCCARD_Read_ID() argument 326 *pStatus = PCCARD_READY; in HAL_PCCARD_Read_ID() 342 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Read_ID() 372 uint8_t *pStatus) in HAL_PCCARD_Read_Sector() argument 390 *pStatus = PCCARD_READY; in HAL_PCCARD_Read_Sector() 406 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Read_Sector() 420 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Read_Sector() 449 uint8_t *pStatus) in HAL_PCCARD_Write_Sector() argument 467 *pStatus = PCCARD_READY; in HAL_PCCARD_Write_Sector() 483 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Write_Sector() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_hal_pccard.c | 308 …eDef HAL_PCCARD_Read_ID(PCCARD_HandleTypeDef *hpccard, uint8_t CompactFlash_ID[], uint8_t *pStatus) in HAL_PCCARD_Read_ID() argument 326 *pStatus = PCCARD_READY; in HAL_PCCARD_Read_ID() 342 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Read_ID() 372 uint8_t *pStatus) in HAL_PCCARD_Read_Sector() argument 390 *pStatus = PCCARD_READY; in HAL_PCCARD_Read_Sector() 406 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Read_Sector() 420 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Read_Sector() 449 uint8_t *pStatus) in HAL_PCCARD_Write_Sector() argument 467 *pStatus = PCCARD_READY; in HAL_PCCARD_Write_Sector() 483 *pStatus = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_Write_Sector() [all …]
|
D | stm32f1xx_hal_sd.c | 2096 HAL_StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus) in HAL_SD_GetCardStatus() argument 2113 pStatus->DataBusWidth = (uint8_t)((sd_status[0] & 0xC0U) >> 6U); in HAL_SD_GetCardStatus() 2115 pStatus->SecuredMode = (uint8_t)((sd_status[0] & 0x20U) >> 5U); in HAL_SD_GetCardStatus() 2117 …pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus() 2119 …pStatus->ProtectedAreaSize = (((sd_status[1] & 0xFFU) << 24U) | ((sd_status[1] & 0xFF00U) << 8U… in HAL_SD_GetCardStatus() 2122 pStatus->SpeedClass = (uint8_t)(sd_status[2] & 0xFFU); in HAL_SD_GetCardStatus() 2124 pStatus->PerformanceMove = (uint8_t)((sd_status[2] & 0xFF00U) >> 8U); in HAL_SD_GetCardStatus() 2126 pStatus->AllocationUnitSize = (uint8_t)((sd_status[2] & 0xF00000U) >> 20U); in HAL_SD_GetCardStatus() 2128 pStatus->EraseSize = (uint16_t)(((sd_status[2] & 0xFF000000U) >> 16U) | (sd_status[3] & 0xFFU)); in HAL_SD_GetCardStatus() 2130 pStatus->EraseTimeout = (uint8_t)((sd_status[3] & 0xFC00U) >> 10U); in HAL_SD_GetCardStatus() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f3xx/drivers/include/ |
D | stm32f3xx_hal_pccard.h | 152 …ef HAL_PCCARD_Read_ID(PCCARD_HandleTypeDef *hpccard, uint8_t CompactFlash_ID[], uint8_t *pStatus); 154 uint8_t *pStatus); 156 uint8_t *pStatus); 157 … HAL_PCCARD_Erase_Sector(PCCARD_HandleTypeDef *hpccard, uint16_t SectorAddress, uint8_t *pStatus);
|
/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/include/ |
D | stm32f1xx_hal_pccard.h | 153 …ef HAL_PCCARD_Read_ID(PCCARD_HandleTypeDef *hpccard, uint8_t CompactFlash_ID[], uint8_t *pStatus); 155 uint8_t *pStatus); 157 uint8_t *pStatus); 158 … HAL_PCCARD_Erase_Sector(PCCARD_HandleTypeDef *hpccard, uint16_t SectorAddress, uint8_t *pStatus);
|
D | stm32f1xx_hal_sd.h | 652 …StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus);
|
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/include/ |
D | stm32f4xx_hal_pccard.h | 156 …ef HAL_PCCARD_Read_ID(PCCARD_HandleTypeDef *hpccard, uint8_t CompactFlash_ID[], uint8_t *pStatus); 158 uint8_t *pStatus); 160 uint8_t *pStatus); 161 … HAL_PCCARD_Erase_Sector(PCCARD_HandleTypeDef *hpccard, uint16_t SectorAddress, uint8_t *pStatus);
|
D | stm32f4xx_hal_sd.h | 651 …StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus);
|
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/include/ |
D | stm32f2xx_hal_pccard.h | 151 …ef HAL_PCCARD_Read_ID(PCCARD_HandleTypeDef *hpccard, uint8_t CompactFlash_ID[], uint8_t *pStatus); 153 uint8_t *pStatus); 155 uint8_t *pStatus); 156 … HAL_PCCARD_Erase_Sector(PCCARD_HandleTypeDef *hpccard, uint16_t SectorAddress, uint8_t *pStatus);
|
D | stm32f2xx_hal_sd.h | 651 …StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus);
|
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal_sd.c | 2265 HAL_StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypedef *pStatus) in HAL_SD_GetCardStatus() argument 2281 pStatus->DataBusWidth = (uint8_t)((sd_status[0] & 0xC0U) >> 6U); in HAL_SD_GetCardStatus() 2283 pStatus->SecuredMode = (uint8_t)((sd_status[0] & 0x20U) >> 5U); in HAL_SD_GetCardStatus() 2285 …pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus() 2287 …pStatus->ProtectedAreaSize = (((sd_status[1] & 0xFFU) << 24U) | ((sd_status[1] & 0xFF00U) << 8U… in HAL_SD_GetCardStatus() 2290 pStatus->SpeedClass = (uint8_t)(sd_status[2] & 0xFFU); in HAL_SD_GetCardStatus() 2292 pStatus->PerformanceMove = (uint8_t)((sd_status[2] & 0xFF00U) >> 8U); in HAL_SD_GetCardStatus() 2294 pStatus->AllocationUnitSize = (uint8_t)((sd_status[2] & 0xF00000U) >> 20U); in HAL_SD_GetCardStatus() 2296 pStatus->EraseSize = (uint16_t)(((sd_status[2] & 0xFF000000U) >> 16U) | (sd_status[3] & 0xFFU)); in HAL_SD_GetCardStatus() 2298 pStatus->EraseTimeout = (uint8_t)((sd_status[3] & 0xFC00U) >> 10U); in HAL_SD_GetCardStatus() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_sd.c | 2304 HAL_StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus) in HAL_SD_GetCardStatus() argument 2326 pStatus->DataBusWidth = (uint8_t)((sd_status[0] & 0xC0U) >> 6U); in HAL_SD_GetCardStatus() 2328 pStatus->SecuredMode = (uint8_t)((sd_status[0] & 0x20U) >> 5U); in HAL_SD_GetCardStatus() 2330 …pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus() 2332 …pStatus->ProtectedAreaSize = (((sd_status[1] & 0xFFU) << 24U) | ((sd_status[1] & 0xFF00U) << 8U… in HAL_SD_GetCardStatus() 2335 pStatus->SpeedClass = (uint8_t)(sd_status[2] & 0xFFU); in HAL_SD_GetCardStatus() 2337 pStatus->PerformanceMove = (uint8_t)((sd_status[2] & 0xFF00U) >> 8U); in HAL_SD_GetCardStatus() 2339 pStatus->AllocationUnitSize = (uint8_t)((sd_status[2] & 0xF00000U) >> 20U); in HAL_SD_GetCardStatus() 2341 pStatus->EraseSize = (uint16_t)(((sd_status[2] & 0xFF000000U) >> 16U) | (sd_status[3] & 0xFFU)); in HAL_SD_GetCardStatus() 2343 pStatus->EraseTimeout = (uint8_t)((sd_status[3] & 0xFC00U) >> 10U); in HAL_SD_GetCardStatus() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_sd.c | 2265 HAL_StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus) in HAL_SD_GetCardStatus() argument 2287 pStatus->DataBusWidth = (uint8_t)((sd_status[0] & 0xC0U) >> 6U); in HAL_SD_GetCardStatus() 2289 pStatus->SecuredMode = (uint8_t)((sd_status[0] & 0x20U) >> 5U); in HAL_SD_GetCardStatus() 2291 …pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus() 2293 …pStatus->ProtectedAreaSize = (((sd_status[1] & 0xFFU) << 24U) | ((sd_status[1] & 0xFF00U) << 8U… in HAL_SD_GetCardStatus() 2296 pStatus->SpeedClass = (uint8_t)(sd_status[2] & 0xFFU); in HAL_SD_GetCardStatus() 2298 pStatus->PerformanceMove = (uint8_t)((sd_status[2] & 0xFF00U) >> 8U); in HAL_SD_GetCardStatus() 2300 pStatus->AllocationUnitSize = (uint8_t)((sd_status[2] & 0xF00000U) >> 20U); in HAL_SD_GetCardStatus() 2302 pStatus->EraseSize = (uint16_t)(((sd_status[2] & 0xFF000000U) >> 16U) | (sd_status[3] & 0xFFU)); in HAL_SD_GetCardStatus() 2304 pStatus->EraseTimeout = (uint8_t)((sd_status[3] & 0xFC00U) >> 10U); in HAL_SD_GetCardStatus() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_sd.c | 2274 HAL_StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus) in HAL_SD_GetCardStatus() argument 2296 pStatus->DataBusWidth = (uint8_t)((sd_status[0] & 0xC0U) >> 6U); in HAL_SD_GetCardStatus() 2298 pStatus->SecuredMode = (uint8_t)((sd_status[0] & 0x20U) >> 5U); in HAL_SD_GetCardStatus() 2300 …pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus() 2302 …pStatus->ProtectedAreaSize = (((sd_status[1] & 0xFFU) << 24U) | ((sd_status[1] & 0xFF00U) << 8U… in HAL_SD_GetCardStatus() 2305 pStatus->SpeedClass = (uint8_t)(sd_status[2] & 0xFFU); in HAL_SD_GetCardStatus() 2307 pStatus->PerformanceMove = (uint8_t)((sd_status[2] & 0xFF00U) >> 8U); in HAL_SD_GetCardStatus() 2309 pStatus->AllocationUnitSize = (uint8_t)((sd_status[2] & 0xF00000U) >> 20U); in HAL_SD_GetCardStatus() 2311 pStatus->EraseSize = (uint16_t)(((sd_status[2] & 0xFF000000U) >> 16U) | (sd_status[3] & 0xFFU)); in HAL_SD_GetCardStatus() 2313 pStatus->EraseTimeout = (uint8_t)((sd_status[3] & 0xFC00U) >> 10U); in HAL_SD_GetCardStatus() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_sd.c | 2307 HAL_StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus) in HAL_SD_GetCardStatus() argument 2329 pStatus->DataBusWidth = (uint8_t)((sd_status[0] & 0xC0U) >> 6U); in HAL_SD_GetCardStatus() 2331 pStatus->SecuredMode = (uint8_t)((sd_status[0] & 0x20U) >> 5U); in HAL_SD_GetCardStatus() 2333 …pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus() 2335 …pStatus->ProtectedAreaSize = (((sd_status[1] & 0xFFU) << 24U) | ((sd_status[1] & 0xFF00U) << 8U… in HAL_SD_GetCardStatus() 2338 pStatus->SpeedClass = (uint8_t)(sd_status[2] & 0xFFU); in HAL_SD_GetCardStatus() 2340 pStatus->PerformanceMove = (uint8_t)((sd_status[2] & 0xFF00U) >> 8U); in HAL_SD_GetCardStatus() 2342 pStatus->AllocationUnitSize = (uint8_t)((sd_status[2] & 0xF00000U) >> 20U); in HAL_SD_GetCardStatus() 2344 pStatus->EraseSize = (uint16_t)(((sd_status[2] & 0xFF000000U) >> 16U) | (sd_status[3] & 0xFFU)); in HAL_SD_GetCardStatus() 2346 pStatus->EraseTimeout = (uint8_t)((sd_status[3] & 0xFC00U) >> 10U); in HAL_SD_GetCardStatus() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_hal_sd.c | 2111 HAL_StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus) in HAL_SD_GetCardStatus() argument 2128 pStatus->DataBusWidth = (uint8_t)((sd_status[0] & 0xC0U) >> 6U); in HAL_SD_GetCardStatus() 2130 pStatus->SecuredMode = (uint8_t)((sd_status[0] & 0x20U) >> 5U); in HAL_SD_GetCardStatus() 2132 …pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus() 2134 …pStatus->ProtectedAreaSize = (((sd_status[1] & 0xFFU) << 24U) | ((sd_status[1] & 0xFF00U) << 8U… in HAL_SD_GetCardStatus() 2137 pStatus->SpeedClass = (uint8_t)(sd_status[2] & 0xFFU); in HAL_SD_GetCardStatus() 2139 pStatus->PerformanceMove = (uint8_t)((sd_status[2] & 0xFF00U) >> 8U); in HAL_SD_GetCardStatus() 2141 pStatus->AllocationUnitSize = (uint8_t)((sd_status[2] & 0xF00000U) >> 20U); in HAL_SD_GetCardStatus() 2143 pStatus->EraseSize = (uint16_t)(((sd_status[2] & 0xFF000000U) >> 16U) | (sd_status[3] & 0xFFU)); in HAL_SD_GetCardStatus() 2145 pStatus->EraseTimeout = (uint8_t)((sd_status[3] & 0xFC00U) >> 10U); in HAL_SD_GetCardStatus() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_sd.c | 2099 HAL_StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus) in HAL_SD_GetCardStatus() argument 2116 pStatus->DataBusWidth = (uint8_t)((sd_status[0] & 0xC0U) >> 6U); in HAL_SD_GetCardStatus() 2118 pStatus->SecuredMode = (uint8_t)((sd_status[0] & 0x20U) >> 5U); in HAL_SD_GetCardStatus() 2120 …pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus() 2122 …pStatus->ProtectedAreaSize = (((sd_status[1] & 0xFFU) << 24U) | ((sd_status[1] & 0xFF00U) << 8U… in HAL_SD_GetCardStatus() 2125 pStatus->SpeedClass = (uint8_t)(sd_status[2] & 0xFFU); in HAL_SD_GetCardStatus() 2127 pStatus->PerformanceMove = (uint8_t)((sd_status[2] & 0xFF00U) >> 8U); in HAL_SD_GetCardStatus() 2129 pStatus->AllocationUnitSize = (uint8_t)((sd_status[2] & 0xF00000U) >> 20U); in HAL_SD_GetCardStatus() 2131 pStatus->EraseSize = (uint16_t)(((sd_status[2] & 0xFF000000U) >> 16U) | (sd_status[3] & 0xFFU)); in HAL_SD_GetCardStatus() 2133 pStatus->EraseTimeout = (uint8_t)((sd_status[3] & 0xFC00U) >> 10U); in HAL_SD_GetCardStatus() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_sd.c | 2531 HAL_StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus) in HAL_SD_GetCardStatus() argument 2548 pStatus->DataBusWidth = (uint8_t)((sd_status[0] & 0xC0U) >> 6U); in HAL_SD_GetCardStatus() 2550 pStatus->SecuredMode = (uint8_t)((sd_status[0] & 0x20U) >> 5U); in HAL_SD_GetCardStatus() 2552 …pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus() 2554 …pStatus->ProtectedAreaSize = (((sd_status[1] & 0xFFU) << 24U) | ((sd_status[1] & 0xFF00U) << 8U… in HAL_SD_GetCardStatus() 2557 pStatus->SpeedClass = (uint8_t)(sd_status[2] & 0xFFU); in HAL_SD_GetCardStatus() 2559 pStatus->PerformanceMove = (uint8_t)((sd_status[2] & 0xFF00U) >> 8U); in HAL_SD_GetCardStatus() 2561 pStatus->AllocationUnitSize = (uint8_t)((sd_status[2] & 0xF00000U) >> 20U); in HAL_SD_GetCardStatus() 2563 pStatus->EraseSize = (uint16_t)(((sd_status[2] & 0xFF000000U) >> 16U) | (sd_status[3] & 0xFFU)); in HAL_SD_GetCardStatus() 2565 pStatus->EraseTimeout = (uint8_t)((sd_status[3] & 0xFC00U) >> 10U); in HAL_SD_GetCardStatus() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/include/ |
D | stm32l1xx_hal_sd.h | 651 …StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus);
|
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/include/ |
D | stm32f7xx_hal_sd.h | 651 …StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus);
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/include/ |
D | stm32h7xx_hal_sd.h | 695 …StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus);
|