Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

Initialization and de-initialization 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:
hsram,:pointer 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.

__weak void HAL_SRAM_DMA_XferCpltCallback ( DMA_HandleTypeDef *  hdma )

DMA transfer complete callback.

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

Definition at line 226 of file stm32l4xx_hal_sram.c.

__weak void HAL_SRAM_DMA_XferErrorCallback ( DMA_HandleTypeDef *  hdma )

DMA transfer complete error callback.

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

Definition at line 239 of file stm32l4xx_hal_sram.c.

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

Perform the SRAM device initialization sequence.

Parameters:
hsram,:pointer to a SRAM_HandleTypeDef structure that contains the configuration information for SRAM module.
Timing,:Pointer to SRAM control timing structure
ExtTiming,:Pointer to SRAM extended mode timing structure
Return values:
HALstatus

Definition at line 140 of file stm32l4xx_hal_sram.c.

__weak void HAL_SRAM_MspDeInit ( SRAM_HandleTypeDef *  hsram )

DeInitialize the SRAM MSP.

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

Definition at line 213 of file stm32l4xx_hal_sram.c.

__weak void HAL_SRAM_MspInit ( SRAM_HandleTypeDef *  hsram )

Initialize the SRAM MSP.

Parameters:
hsram,:pointer 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.