STM32L4xx_HAL_Driver  1.14.0

High Speed function. More...

Functions

uint32_t HAL_SDEx_HighSpeed (SD_HandleTypeDef *hsd)
 Switches the SD card to High Speed mode. This API must be used after "Transfer State". More...
 
void HAL_SDEx_DriveTransceiver_1_8V_Callback (FlagStatus status)
 Enable/Disable the SD Transceiver 1.8V Mode Callback. More...
 

Detailed Description

High Speed function.

  ==============================================================================
          ##### High Speed function #####
  ==============================================================================
  [..]
    This section provides function allowing to configure the card in High Speed mode.

Function Documentation

◆ HAL_SDEx_DriveTransceiver_1_8V_Callback()

__weak void HAL_SDEx_DriveTransceiver_1_8V_Callback ( FlagStatus  status)

Enable/Disable the SD Transceiver 1.8V Mode Callback.

Parameters
statusVoltage Switch State
Return values
None

Definition at line 95 of file stm32l4xx_hal_sd_ex.c.

96 {
97  /* Prevent unused argument(s) compilation warning */
98  UNUSED(status);
99 
100  /* NOTE : This function Should not be modified, when the callback is needed,
101  the HAL_SD_EnableTransciver could be implemented in the user file
102  */
103 }

◆ HAL_SDEx_HighSpeed()

uint32_t HAL_SDEx_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 50 and 120 MHz
Parameters
hsdSD handle
Return values
SDCard error state

Definition at line 85 of file stm32l4xx_hal_sd_ex.c.

86 {
87  return SD_HighSpeed (hsd);
88 }
uint32_t SD_HighSpeed(SD_HandleTypeDef *hsd)
Switches the SD card to High Speed mode. This API must be used after "Transfer State".