STM32F4xx_HAL_Driver  1.8.3
Initialization and de-initialization functions

Initialization and de-initialization functions. More...

+ Collaboration diagram for Initialization and de-initialization functions:

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. More...
 
HAL_StatusTypeDef HAL_SD_InitCard (SD_HandleTypeDef *hsd)
 Initializes the SD Card. More...
 
HAL_StatusTypeDef HAL_SD_DeInit (SD_HandleTypeDef *hsd)
 De-Initializes the SD card. More...
 
void HAL_SD_MspInit (SD_HandleTypeDef *hsd)
 Initializes the SD MSP. More...
 
void HAL_SD_MspDeInit (SD_HandleTypeDef *hsd)
 De-Initialize SD MSP. More...
 

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_SD_DeInit()

HAL_StatusTypeDef HAL_SD_DeInit ( SD_HandleTypeDef hsd)

De-Initializes the SD card.

Parameters
hsdPointer to SD handle
Return values
HALstatus

Definition at line 473 of file stm32f4xx_hal_sd.c.

◆ HAL_SD_Init()

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.

Parameters
hsdPointer to the SD handle
Return values
HALstatus

Definition at line 335 of file stm32f4xx_hal_sd.c.

◆ HAL_SD_InitCard()

HAL_StatusTypeDef HAL_SD_InitCard ( SD_HandleTypeDef hsd)

Initializes the SD Card.

Parameters
hsdPointer to SD handle
Note
This function initializes the SD card. It could be used when a card re-initialization is needed.
Return values
HALstatus

Definition at line 403 of file stm32f4xx_hal_sd.c.

◆ HAL_SD_MspDeInit()

__weak void HAL_SD_MspDeInit ( SD_HandleTypeDef hsd)

De-Initialize SD MSP.

Parameters
hsdPointer to SD handle
Return values
None

Definition at line 529 of file stm32f4xx_hal_sd.c.

◆ HAL_SD_MspInit()

__weak void HAL_SD_MspInit ( SD_HandleTypeDef hsd)

Initializes the SD MSP.

Parameters
hsdPointer to SD handle
Return values
None

Definition at line 514 of file stm32f4xx_hal_sd.c.