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

Initialization and Configuration functions. More...

Functions

HAL_StatusTypeDef HAL_SRAM_Init (SRAM_HandleTypeDef *hsram, FMC_NORSRAM_TimingTypeDef *Timing, FMC_NORSRAM_TimingTypeDef *ExtTiming)
 Performs the SRAM device initialization sequence.
HAL_StatusTypeDef HAL_SRAM_DeInit (SRAM_HandleTypeDef *hsram)
 Performs the SRAM device De-initialization sequence.
__weak void HAL_SRAM_MspInit (SRAM_HandleTypeDef *hsram)
 SRAM MSP Init.
__weak void HAL_SRAM_MspDeInit (SRAM_HandleTypeDef *hsram)
 SRAM MSP DeInit.
__weak void HAL_SRAM_DMA_XferCpltCallback (DMA_HandleTypeDef *hdma)
 DMA transfer complete callback.
__weak void HAL_SRAM_DMA_XferErrorCallback (DMA_HandleTypeDef *hdma)
 DMA transfer complete error callback.

Detailed Description

Initialization and Configuration functions.

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


Function Documentation

HAL_StatusTypeDef HAL_SRAM_DeInit ( SRAM_HandleTypeDef *  hsram)

Performs the SRAM device De-initialization sequence.

Parameters:
hsrampointer to a SRAM_HandleTypeDef structure that contains the configuration information for SRAM module.
Return values:
HALstatus

Definition at line 223 of file stm32f4xx_hal_sram.c.

References HAL_SRAM_MspDeInit().

DMA transfer complete callback.

Parameters:
hdmapointer to a SRAM_HandleTypeDef structure that contains the configuration information for SRAM module.
Return values:
None

Definition at line 288 of file stm32f4xx_hal_sram.c.

Referenced by HAL_SRAM_Init(), HAL_SRAM_UnRegisterCallback(), SRAM_DMACplt(), and SRAM_DMACpltProt().

DMA transfer complete error callback.

Parameters:
hdmapointer to a SRAM_HandleTypeDef structure that contains the configuration information for SRAM module.
Return values:
None

Definition at line 304 of file stm32f4xx_hal_sram.c.

Referenced by HAL_SRAM_Init(), HAL_SRAM_UnRegisterCallback(), and SRAM_DMAError().

HAL_StatusTypeDef HAL_SRAM_Init ( SRAM_HandleTypeDef *  hsram,
FMC_NORSRAM_TimingTypeDef *  Timing,
FMC_NORSRAM_TimingTypeDef *  ExtTiming 
)

Performs the SRAM device initialization sequence.

Parameters:
hsrampointer to a SRAM_HandleTypeDef structure that contains the configuration information for SRAM module.
TimingPointer to SRAM control timing structure
ExtTimingPointer to SRAM extended mode timing structure
Return values:
HALstatus

Definition at line 168 of file stm32f4xx_hal_sram.c.

References HAL_SRAM_DMA_XferCpltCallback(), HAL_SRAM_DMA_XferErrorCallback(), and HAL_SRAM_MspInit().

__weak void HAL_SRAM_MspDeInit ( SRAM_HandleTypeDef *  hsram)

SRAM MSP DeInit.

Parameters:
hsrampointer to a SRAM_HandleTypeDef structure that contains the configuration information for SRAM module.
Return values:
None

Definition at line 272 of file stm32f4xx_hal_sram.c.

Referenced by HAL_SRAM_DeInit(), and HAL_SRAM_UnRegisterCallback().

__weak void HAL_SRAM_MspInit ( SRAM_HandleTypeDef *  hsram)

SRAM MSP Init.

Parameters:
hsrampointer to a SRAM_HandleTypeDef structure that contains the configuration information for SRAM module.
Return values:
None

Definition at line 256 of file stm32f4xx_hal_sram.c.

Referenced by HAL_SRAM_Init(), and HAL_SRAM_UnRegisterCallback().