HAL SRAM Generic Driver
44.2.5
SRAM State functions
This subsection permits to get in run-time the status of the SRAM controller and the data
flow.
This section contains the following APIs:
HAL_SRAM_GetState()
44.2.6
Detailed description of functions
HAL_SRAM_Init
Function name
Function description
Parameters
Return values
HAL_SRAM_DeInit
Function name
Function description
Parameters
Return values
HAL_SRAM_MspInit
Function name
Function description
Parameters
Return values
HAL_SRAM_MspDeInit
Function name
Function description
Parameters
Return values
568/1371
HAL_StatusTypeDef HAL_SRAM_Init (SRAM_HandleTypeDef *
hsram, FSMC_NORSRAM_TimingTypeDef * Timing,
FSMC_NORSRAM_TimingTypeDef * ExtTiming)
Performs the SRAM device initialization sequence.
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
HAL: status
HAL_StatusTypeDef HAL_SRAM_DeInit
(SRAM_HandleTypeDef * hsram)
Performs the SRAM device De-initialization sequence.
hsram: pointer to a SRAM_HandleTypeDef structure that
contains the configuration information for SRAM module.
HAL: status
void HAL_SRAM_MspInit (SRAM_HandleTypeDef * hsram)
SRAM MSP Init.
hsram: pointer to a SRAM_HandleTypeDef structure that
contains the configuration information for SRAM module.
None:
void HAL_SRAM_MspDeInit (SRAM_HandleTypeDef * hsram)
SRAM MSP DeInit.
hsram: pointer to a SRAM_HandleTypeDef structure that
contains the configuration information for SRAM module.
None:
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers