Home
last modified time | relevance | path

Searched refs:pStatus (Results 1 – 25 of 30) sorted by relevance

12

/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_pccard.c307 …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 …]
Dstm32f2xx_hal_sd.c2099 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()
2120pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus()
2122pStatus->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/
Dstm32f4xx_hal_pccard.c308 …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 …]
Dstm32f4xx_hal_sd.c2152 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()
2173pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus()
2175pStatus->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/
Dstm32f3xx_hal_pccard.c308 …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/
Dstm32f1xx_hal_pccard.c308 …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 …]
Dstm32f1xx_hal_sd.c2096 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()
2117pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus()
2119pStatus->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/
Dstm32f3xx_hal_pccard.h152 …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/
Dstm32f1xx_hal_pccard.h153 …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);
Dstm32f1xx_hal_sd.h652 …StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus);
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/include/
Dstm32f4xx_hal_pccard.h156 …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);
Dstm32f4xx_hal_sd.h651 …StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus);
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/include/
Dstm32f2xx_hal_pccard.h151 …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);
Dstm32f2xx_hal_sd.h651 …StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus);
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_sd.c2265 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()
2285pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus()
2287pStatus->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/
Dstm32l5xx_hal_sd.c2304 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()
2330pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus()
2332pStatus->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/
Dstm32u5xx_hal_sd.c2265 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()
2291pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus()
2293pStatus->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/
Dstm32h5xx_hal_sd.c2274 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()
2300pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus()
2302pStatus->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/
Dstm32h7xx_hal_sd.c2307 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()
2333pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus()
2335pStatus->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/
Dstm32l1xx_hal_sd.c2111 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()
2132pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus()
2134pStatus->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/
Dstm32f7xx_hal_sd.c2099 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()
2120pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus()
2122pStatus->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/
Dstm32l4xx_hal_sd.c2531 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()
2552pStatus->CardType = (uint16_t)(((sd_status[0] & 0x00FF0000U) >> 8U) | ((sd_status[0] & 0xFF000000U… in HAL_SD_GetCardStatus()
2554pStatus->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/
Dstm32l1xx_hal_sd.h651 …StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus);
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/include/
Dstm32f7xx_hal_sd.h651 …StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus);
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_hal_sd.h695 …StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus);

12