Hal_Sd_Configwidebusoperation; Hal_Sd_Sendsdstatus; Hal_Sd_Getcardstate; Hal_Sd_Getcardcid - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

UM1940
Function description
Parameters
Return values

HAL_SD_ConfigWideBusOperation

Function name
Function description
Parameters
Return values

HAL_SD_SendSDStatus

Function name
Function description

HAL_SD_GetCardState

Function name
Function description
Parameters
Return values

HAL_SD_GetCardCID

Function name
Function description
Parameters
Return values
HAL_SD_GetCardCSD
Function name
SD Abort callbacks.
hsd: Pointer SD handle
None:
HAL_StatusTypeDef HAL_SD_ConfigWideBusOperation
(SD_HandleTypeDef * hsd, uint32_t WideMode)
Enables wide bus operation for the requested card if supported by
card.
hsd: Pointer to SD handle
WideMode: Specifies the SD card wide bus mode This
parameter can be one of the following values:
SDIO_BUS_WIDE_8B: 8-bit data transfer
SDIO_BUS_WIDE_4B: 4-bit data transfer
SDIO_BUS_WIDE_1B: 1-bit data transfer
HAL: status
HAL_StatusTypeDef HAL_SD_SendSDStatus
(SD_HandleTypeDef * hsd, uint32_t * pSDstatus)
HAL_SD_CardStateTypeDef HAL_SD_GetCardState
(SD_HandleTypeDef * hsd)
Gets the current sd card data state.
hsd: pointer to SD handle
Card: state
HAL_StatusTypeDef HAL_SD_GetCardCID
(SD_HandleTypeDef * hsd, HAL_SD_CardCIDTypeDef * pCID)
Returns information the information of the card which are stored
on the CID register.
hsd: Pointer to SD handle
pCID: Pointer to a HAL_SD_CIDTypeDef structure that
contains all CID register parameters
HAL: status
HAL_StatusTypeDef HAL_SD_GetCardCSD
(SD_HandleTypeDef * hsd, HAL_SD_CardCSDTypeDef *
DocID028236 Rev 2
HAL SD Generic Driver
521/1371

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF