STM32L486xx 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)
 Perform the SRAM device initialization sequence.
HAL_StatusTypeDef HAL_SRAM_DeInit (SRAM_HandleTypeDef *hsram)
 Perform the SRAM device de-initialization sequence.
__weak void HAL_SRAM_MspInit (SRAM_HandleTypeDef *hsram)
 Initialize the SRAM MSP.
__weak void HAL_SRAM_MspDeInit (SRAM_HandleTypeDef *hsram)
 DeInitialize the SRAM MSP.
__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)

Perform 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 178 of file stm32l4xx_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 232 of file stm32l4xx_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 248 of file stm32l4xx_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 
)

Perform 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 141 of file stm32l4xx_hal_sram.c.

References HAL_SRAM_MspInit().

__weak void HAL_SRAM_MspDeInit ( SRAM_HandleTypeDef *  hsram)

DeInitialize the SRAM MSP.

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

Definition at line 216 of file stm32l4xx_hal_sram.c.

Referenced by HAL_SRAM_DeInit().

__weak void HAL_SRAM_MspInit ( SRAM_HandleTypeDef *  hsram)

Initialize the SRAM MSP.

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

Definition at line 200 of file stm32l4xx_hal_sram.c.

Referenced by HAL_SRAM_Init().