Home
last modified time | relevance | path

Searched refs:sd_status (Results 1 – 11 of 11) sorted by relevance

/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_sd.c2267 uint32_t sd_status[16]; in HAL_SD_GetCardStatus() local
2270 errorstate = SD_SendSDStatus(hsd, sd_status); in HAL_SD_GetCardStatus()
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()
2288 … ((sd_status[1] & 0xFF0000U) >> 8U) | ((sd_status[1] & 0xFF000000U) >> 24U)); 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()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_sd.c2306 uint32_t sd_status[16]; in HAL_SD_GetCardStatus() local
2315 errorstate = SD_SendSDStatus(hsd, sd_status); in HAL_SD_GetCardStatus()
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()
2333 … ((sd_status[1] & 0xFF0000U) >> 8U) | ((sd_status[1] & 0xFF000000U) >> 24U)); 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()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_sd.c2101 uint32_t sd_status[16]; in HAL_SD_GetCardStatus() local
2105 errorstate = SD_SendSDStatus(hsd, sd_status); in HAL_SD_GetCardStatus()
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()
2123 … ((sd_status[1] & 0xFF0000U) >> 8U) | ((sd_status[1] & 0xFF000000U) >> 24U)); 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()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_sd.c2113 uint32_t sd_status[16]; in HAL_SD_GetCardStatus() local
2117 errorstate = SD_SendSDStatus(hsd, sd_status); in HAL_SD_GetCardStatus()
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()
2135 … ((sd_status[1] & 0xFF0000U) >> 8U) | ((sd_status[1] & 0xFF000000U) >> 24U)); 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()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_sd.c2101 uint32_t sd_status[16]; in HAL_SD_GetCardStatus() local
2105 errorstate = SD_SendSDStatus(hsd, sd_status); in HAL_SD_GetCardStatus()
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()
2123 … ((sd_status[1] & 0xFF0000U) >> 8U) | ((sd_status[1] & 0xFF000000U) >> 24U)); 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()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_sd.c2098 uint32_t sd_status[16]; in HAL_SD_GetCardStatus() local
2102 errorstate = SD_SendSDStatus(hsd, sd_status); in HAL_SD_GetCardStatus()
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()
2120 … ((sd_status[1] & 0xFF0000U) >> 8U) | ((sd_status[1] & 0xFF000000U) >> 24U)); 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()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_sd.c2154 uint32_t sd_status[16]; in HAL_SD_GetCardStatus() local
2158 errorstate = SD_SendSDStatus(hsd, sd_status); in HAL_SD_GetCardStatus()
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()
2176 … ((sd_status[1] & 0xFF0000U) >> 8U) | ((sd_status[1] & 0xFF000000U) >> 24U)); 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()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_sd.c2267 uint32_t sd_status[16]; in HAL_SD_GetCardStatus() local
2276 errorstate = SD_SendSDStatus(hsd, sd_status); in HAL_SD_GetCardStatus()
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()
2294 … ((sd_status[1] & 0xFF0000U) >> 8U) | ((sd_status[1] & 0xFF000000U) >> 24U)); 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()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_sd.c2276 uint32_t sd_status[16]; in HAL_SD_GetCardStatus() local
2285 errorstate = SD_SendSDStatus(hsd, sd_status); in HAL_SD_GetCardStatus()
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()
2303 … ((sd_status[1] & 0xFF0000U) >> 8U) | ((sd_status[1] & 0xFF000000U) >> 24U)); 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()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_sd.c2309 uint32_t sd_status[16]; in HAL_SD_GetCardStatus() local
2318 errorstate = SD_SendSDStatus(hsd, sd_status); in HAL_SD_GetCardStatus()
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()
2336 … ((sd_status[1] & 0xFF0000U) >> 8U) | ((sd_status[1] & 0xFF000000U) >> 24U)); 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()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_sd.c2533 uint32_t sd_status[16]; in HAL_SD_GetCardStatus() local
2537 errorstate = SD_SendSDStatus(hsd, sd_status); in HAL_SD_GetCardStatus()
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()
2555 … ((sd_status[1] & 0xFF0000U) >> 8U) | ((sd_status[1] & 0xFF000000U) >> 24U)); 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()
[all …]