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_Group1
[SD_Exported_Functions]
Initialization and de-initialization functions. More...
Functions | |
HAL_SD_ErrorTypedef | HAL_SD_Init (SD_HandleTypeDef *hsd, HAL_SD_CardInfoTypedef *SDCardInfo) |
Initializes the SD card according to the specified parameters in the SD_HandleTypeDef and initialize the associated handle. | |
HAL_StatusTypeDef | HAL_SD_DeInit (SD_HandleTypeDef *hsd) |
De-Initializes the SD card. | |
__weak void | HAL_SD_MspInit (SD_HandleTypeDef *hsd) |
Initializes the SD MSP. | |
__weak void | HAL_SD_MspDeInit (SD_HandleTypeDef *hsd) |
De-Initialize SD MSP. |
Detailed Description
Initialization and de-initialization functions.
============================================================================== ##### Initialization and de-initialization functions ##### ============================================================================== [..] This section provides functions allowing to initialize/de-initialize the SD card device to be ready for use.
Function Documentation
HAL_StatusTypeDef HAL_SD_DeInit | ( | SD_HandleTypeDef * | hsd ) |
De-Initializes the SD card.
- Parameters:
-
hsd,: SD handle
- Return values:
-
HAL status
Definition at line 397 of file stm32l4xx_hal_sd.c.
HAL_SD_ErrorTypedef HAL_SD_Init | ( | SD_HandleTypeDef * | hsd, |
HAL_SD_CardInfoTypedef * | SDCardInfo | ||
) |
Initializes the SD card according to the specified parameters in the SD_HandleTypeDef and initialize the associated handle.
- Parameters:
-
hsd,: SD handle SDCardInfo,: HAL_SD_CardInfoTypedef structure for SD card information
- Return values:
-
HAL SD error state
Definition at line 342 of file stm32l4xx_hal_sd.c.
__weak void HAL_SD_MspDeInit | ( | SD_HandleTypeDef * | hsd ) |
De-Initialize SD MSP.
- Parameters:
-
hsd,: SD handle
- Return values:
-
None
Definition at line 430 of file stm32l4xx_hal_sd.c.
__weak void HAL_SD_MspInit | ( | SD_HandleTypeDef * | hsd ) |
Initializes the SD MSP.
- Parameters:
-
hsd,: SD handle
- Return values:
-
None
Definition at line 415 of file stm32l4xx_hal_sd.c.
Generated on Tue Jul 12 2022 17:38:59 by
