STM32H735xx 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 (MDMA_HandleTypeDef *hmdma)
 DMA transfer complete callback.
__weak void HAL_SRAM_DMA_XferErrorCallback (MDMA_HandleTypeDef *hmdma)
 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 225 of file stm32h7xx_hal_sram.c.

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

DMA transfer complete callback.

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

Definition at line 290 of file stm32h7xx_hal_sram.c.

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

DMA transfer complete error callback.

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

Definition at line 306 of file stm32h7xx_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 167 of file stm32h7xx_hal_sram.c.

References __SRAM_HandleTypeDef::DmaXferCpltCallback, __SRAM_HandleTypeDef::DmaXferErrorCallback, __SRAM_HandleTypeDef::Extended, HAL_SRAM_DMA_XferCpltCallback(), HAL_SRAM_DMA_XferErrorCallback(), HAL_SRAM_MspInit(), HAL_SRAM_STATE_READY, HAL_SRAM_STATE_RESET, __SRAM_HandleTypeDef::Init, __SRAM_HandleTypeDef::Instance, __SRAM_HandleTypeDef::Lock, __SRAM_HandleTypeDef::MspInitCallback, 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 274 of file stm32h7xx_hal_sram.c.

Referenced by HAL_SRAM_DeInit(), and HAL_SRAM_UnRegisterCallback().

SRAM MSP Init.

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

Definition at line 258 of file stm32h7xx_hal_sram.c.

Referenced by HAL_SRAM_Init(), and HAL_SRAM_UnRegisterCallback().