STM32F479xx HAL User Manual
|
Initialization and de-initialization functions. More...
Functions | |
HAL_StatusTypeDef | HAL_SD_Init (SD_HandleTypeDef *hsd) |
Initializes the SD according to the specified parameters in the SD_HandleTypeDef and create the associated handle. | |
HAL_StatusTypeDef | HAL_SD_InitCard (SD_HandleTypeDef *hsd) |
Initializes the SD Card. | |
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. |
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.
HAL_StatusTypeDef HAL_SD_DeInit | ( | SD_HandleTypeDef * | hsd | ) |
De-Initializes the SD card.
hsd,: | Pointer to SD handle |
HAL | status |
Definition at line 470 of file stm32f4xx_hal_sd.c.
References assert_param, HAL_SD_MspDeInit(), and SD_PowerOFF().
HAL_StatusTypeDef HAL_SD_Init | ( | SD_HandleTypeDef * | hsd | ) |
Initializes the SD according to the specified parameters in the SD_HandleTypeDef and create the associated handle.
hsd,: | Pointer to the SD handle |
HAL | status |
Definition at line 335 of file stm32f4xx_hal_sd.c.
References assert_param, HAL_SD_AbortCallback(), HAL_SD_ErrorCallback(), HAL_SD_InitCard(), HAL_SD_MspInit(), HAL_SD_RxCpltCallback(), and HAL_SD_TxCpltCallback().
HAL_StatusTypeDef HAL_SD_InitCard | ( | SD_HandleTypeDef * | hsd | ) |
Initializes the SD Card.
hsd,: | Pointer to SD handle |
HAL | status |
Definition at line 403 of file stm32f4xx_hal_sd.c.
References __SAI_HandleTypeDef::Init, SD_InitCard(), and SD_PowerON().
Referenced by HAL_SD_Init().
__weak void HAL_SD_MspDeInit | ( | SD_HandleTypeDef * | hsd | ) |
De-Initialize SD MSP.
hsd,: | Pointer to SD handle |
None |
Definition at line 526 of file stm32f4xx_hal_sd.c.
Referenced by HAL_SD_DeInit(), and HAL_SD_UnRegisterCallback().
__weak void HAL_SD_MspInit | ( | SD_HandleTypeDef * | hsd | ) |
Initializes the SD MSP.
hsd,: | Pointer to SD handle |
None |
Definition at line 511 of file stm32f4xx_hal_sd.c.
Referenced by HAL_SD_Init(), and HAL_SD_UnRegisterCallback().