STM32F479xx HAL User Manual
Functions
Initialization and de-initialization functions
SDRAM Exported Functions

Initialization and Configuration functions. More...

Functions

HAL_StatusTypeDef HAL_SDRAM_Init (SDRAM_HandleTypeDef *hsdram, FMC_SDRAM_TimingTypeDef *Timing)
 Performs the SDRAM device initialization sequence.
HAL_StatusTypeDef HAL_SDRAM_DeInit (SDRAM_HandleTypeDef *hsdram)
 Perform the SDRAM device initialization sequence.
__weak void HAL_SDRAM_MspInit (SDRAM_HandleTypeDef *hsdram)
 SDRAM MSP Init.
__weak void HAL_SDRAM_MspDeInit (SDRAM_HandleTypeDef *hsdram)
 SDRAM MSP DeInit.
void HAL_SDRAM_IRQHandler (SDRAM_HandleTypeDef *hsdram)
 This function handles SDRAM refresh error interrupt request.
__weak void HAL_SDRAM_RefreshErrorCallback (SDRAM_HandleTypeDef *hsdram)
 SDRAM Refresh error callback.
__weak void HAL_SDRAM_DMA_XferCpltCallback (DMA_HandleTypeDef *hdma)
 DMA transfer complete callback.
__weak void HAL_SDRAM_DMA_XferErrorCallback (DMA_HandleTypeDef *hdma)
 DMA transfer complete error callback.

Detailed Description

Initialization and Configuration functions.

  ==============================================================================
           ##### SDRAM Initialization and de_initialization functions #####
  ==============================================================================
  [..]
    This section provides functions allowing to initialize/de-initialize
    the SDRAM memory


Function Documentation

HAL_StatusTypeDef HAL_SDRAM_DeInit ( SDRAM_HandleTypeDef *  hsdram)

Perform the SDRAM device initialization sequence.

Parameters:
hsdrampointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module.
Return values:
HALstatus

Definition at line 215 of file stm32f4xx_hal_sdram.c.

References HAL_SDRAM_MspDeInit().

DMA transfer complete callback.

Parameters:
hdmapointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
Return values:
None

Definition at line 319 of file stm32f4xx_hal_sdram.c.

Referenced by HAL_SDRAM_Init(), HAL_SDRAM_UnRegisterCallback(), SDRAM_DMACplt(), and SDRAM_DMACpltProt().

DMA transfer complete error callback.

Parameters:
hdmaDMA handle
Return values:
None

Definition at line 334 of file stm32f4xx_hal_sdram.c.

Referenced by HAL_SDRAM_Init(), HAL_SDRAM_UnRegisterCallback(), and SDRAM_DMAError().

HAL_StatusTypeDef HAL_SDRAM_Init ( SDRAM_HandleTypeDef *  hsdram,
FMC_SDRAM_TimingTypeDef *  Timing 
)

Performs the SDRAM device initialization sequence.

Parameters:
hsdrampointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module.
TimingPointer to SDRAM control timing structure
Return values:
HALstatus

Definition at line 166 of file stm32f4xx_hal_sdram.c.

References HAL_SDRAM_DMA_XferCpltCallback(), HAL_SDRAM_DMA_XferErrorCallback(), HAL_SDRAM_MspInit(), and HAL_SDRAM_RefreshErrorCallback().

void HAL_SDRAM_IRQHandler ( SDRAM_HandleTypeDef *  hsdram)

This function handles SDRAM refresh error interrupt request.

Parameters:
hsdrampointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module.
Return values:
HALstatus

Definition at line 280 of file stm32f4xx_hal_sdram.c.

References HAL_SDRAM_RefreshErrorCallback().

__weak void HAL_SDRAM_MspDeInit ( SDRAM_HandleTypeDef *  hsdram)

SDRAM MSP DeInit.

Parameters:
hsdrampointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module.
Return values:
None

Definition at line 264 of file stm32f4xx_hal_sdram.c.

Referenced by HAL_SDRAM_DeInit(), and HAL_SDRAM_UnRegisterCallback().

__weak void HAL_SDRAM_MspInit ( SDRAM_HandleTypeDef *  hsdram)

SDRAM MSP Init.

Parameters:
hsdrampointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module.
Return values:
None

Definition at line 248 of file stm32f4xx_hal_sdram.c.

Referenced by HAL_SDRAM_Init(), and HAL_SDRAM_UnRegisterCallback().

__weak void HAL_SDRAM_RefreshErrorCallback ( SDRAM_HandleTypeDef *  hsdram)

SDRAM Refresh error callback.

Parameters:
hsdrampointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module.
Return values:
None

Definition at line 303 of file stm32f4xx_hal_sdram.c.

Referenced by HAL_SDRAM_Init(), HAL_SDRAM_IRQHandler(), and HAL_SDRAM_UnRegisterCallback().