Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
SD_Exported_Functions_Group3
[SD_Exported_Functions]
management functions More...
Functions | |
HAL_SD_ErrorTypedef | HAL_SD_Get_CardInfo (SD_HandleTypeDef *hsd, HAL_SD_CardInfoTypedef *pCardInfo) |
Returns information about specific card. | |
HAL_SD_ErrorTypedef | HAL_SD_WideBusOperation_Config (SD_HandleTypeDef *hsd, uint32_t WideMode) |
Enables wide bus operation for the requested card if supported by card. | |
HAL_SD_ErrorTypedef | HAL_SD_StopTransfer (SD_HandleTypeDef *hsd) |
Aborts an ongoing data transfer. | |
HAL_SD_ErrorTypedef | HAL_SD_HighSpeed (SD_HandleTypeDef *hsd) |
Switches the SD card to High Speed mode. |
Detailed Description
management functions
============================================================================== ##### Peripheral Control functions ##### ============================================================================== [..] This subsection provides a set of functions allowing to control the SD card operations.
Function Documentation
HAL_SD_ErrorTypedef HAL_SD_Get_CardInfo | ( | SD_HandleTypeDef * | hsd, |
HAL_SD_CardInfoTypedef * | pCardInfo | ||
) |
Returns information about specific card.
- Parameters:
-
hsd,: SD handle pCardInfo,: Pointer to a HAL_SD_CardInfoTypedef structure that contains all SD cardinformation
- Return values:
-
SD Card error state
< Reserved
Definition at line 1502 of file stm32l4xx_hal_sd.c.
HAL_SD_ErrorTypedef HAL_SD_HighSpeed | ( | SD_HandleTypeDef * | hsd ) |
Switches the SD card to High Speed mode.
This API must be used after "Transfer State"
- Note:
- This operation should be followed by the configuration of PLL to have SDMMCCK clock between 67 and 75 MHz
- Parameters:
-
hsd,: SD handle
- Return values:
-
SD Card error state
Definition at line 1799 of file stm32l4xx_hal_sd.c.
HAL_SD_ErrorTypedef HAL_SD_StopTransfer | ( | SD_HandleTypeDef * | hsd ) |
Aborts an ongoing data transfer.
- Parameters:
-
hsd,: SD handle
- Return values:
-
SD Card error state
Definition at line 1772 of file stm32l4xx_hal_sd.c.
HAL_SD_ErrorTypedef HAL_SD_WideBusOperation_Config | ( | SD_HandleTypeDef * | hsd, |
uint32_t | WideMode | ||
) |
Enables wide bus operation for the requested card if supported by card.
- Parameters:
-
hsd,: SD handle WideMode,: Specifies the SD card wide bus mode This parameter can be one of the following values: - SDMMC_BUS_WIDE_8B: 8-bit data transfer (Only for MMC)
- SDMMC_BUS_WIDE_4B: 4-bit data transfer
- SDMMC_BUS_WIDE_1B: 1-bit data transfer
- Return values:
-
SD Card error state
Definition at line 1718 of file stm32l4xx_hal_sd.c.
Generated on Tue Jul 12 2022 17:38:59 by
