management functions
More...
management functions
==============================================================================
##### Peripheral Control functions #####
==============================================================================
[..]
This subsection provides a set of functions allowing to control the SD card
operations and get the related information
◆ HAL_SD_Abort()
Abort the current transfer and disable the SD.
- Parameters
-
hsd | pointer to a SD_HandleTypeDef structure that contains the configuration information for SD module. |
- Return values
-
Definition at line 2350 of file stm32f4xx_hal_sd.c.
◆ HAL_SD_Abort_IT()
Abort the current transfer and disable the SD (IT mode).
- Parameters
-
hsd | pointer to a SD_HandleTypeDef structure that contains the configuration information for SD module. |
- Return values
-
Definition at line 2414 of file stm32f4xx_hal_sd.c.
◆ HAL_SD_ConfigWideBusOperation()
HAL_StatusTypeDef HAL_SD_ConfigWideBusOperation |
( |
SD_HandleTypeDef * |
hsd, |
|
|
uint32_t |
WideMode |
|
) |
| |
Enables wide bus operation for the requested card if supported by card.
- Parameters
-
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
|
- Return values
-
Definition at line 2245 of file stm32f4xx_hal_sd.c.
◆ HAL_SD_GetCardCID()
Returns information the information of the card which are stored on the CID register.
- Parameters
-
hsd | Pointer to SD handle |
pCID | Pointer to a HAL_SD_CardCIDTypeDef structure that
contains all CID register parameters |
- Return values
-
Definition at line 2013 of file stm32f4xx_hal_sd.c.
◆ HAL_SD_GetCardCSD()
Returns information the information of the card which are stored on the CSD register.
- Parameters
-
hsd | Pointer to SD handle |
pCSD | Pointer to a HAL_SD_CardCSDTypeDef structure that
contains all CSD register parameters |
- Return values
-
< Reserved
Definition at line 2046 of file stm32f4xx_hal_sd.c.
◆ HAL_SD_GetCardInfo()
Gets the SD card info.
- Parameters
-
hsd | Pointer to SD handle |
pCardInfo | Pointer to the HAL_SD_CardInfoTypeDef structure that will contain the SD card status information |
- Return values
-
Definition at line 2220 of file stm32f4xx_hal_sd.c.
◆ HAL_SD_GetCardState()
Gets the current sd card data state.
- Parameters
-
- Return values
-
Definition at line 2327 of file stm32f4xx_hal_sd.c.
◆ HAL_SD_GetCardStatus()
Gets the SD status info.
- Parameters
-
hsd | Pointer to SD handle |
pStatus | Pointer to the HAL_SD_CardStatusTypeDef structure that will contain the SD card status information |
- Return values
-
Definition at line 2160 of file stm32f4xx_hal_sd.c.