STM32F439xx 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 179 of file stm32f4xx_hal_sram.c.

References SRAM_HandleTypeDef::Extended, HAL_SRAM_MspDeInit(), HAL_SRAM_STATE_RESET, SRAM_HandleTypeDef::Init, SRAM_HandleTypeDef::Instance, and SRAM_HandleTypeDef::State.

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 231 of file stm32f4xx_hal_sram.c.

Referenced by HAL_SRAM_Read_DMA(), and HAL_SRAM_Write_DMA().

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 246 of file stm32f4xx_hal_sram.c.

Referenced by HAL_SRAM_Read_DMA(), and HAL_SRAM_Write_DMA().

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 142 of file stm32f4xx_hal_sram.c.

References SRAM_HandleTypeDef::Extended, HAL_SRAM_MspInit(), HAL_SRAM_STATE_RESET, SRAM_HandleTypeDef::Init, SRAM_HandleTypeDef::Instance, SRAM_HandleTypeDef::Lock, and SRAM_HandleTypeDef::State.

SRAM MSP DeInit.

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

Definition at line 216 of file stm32f4xx_hal_sram.c.

Referenced by HAL_SRAM_DeInit().

SRAM MSP Init.

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

Definition at line 201 of file stm32f4xx_hal_sram.c.

Referenced by HAL_SRAM_Init().