Initialization and Configuration functions.
More...
Initialization and Configuration functions.
==============================================================================
##### SRAM Initialization and de-initialization functions #####
==============================================================================
[..] This section provides functions allowing to initialize/de-initialize
the SRAM memory.
◆ HAL_SRAM_DeInit()
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
-
Definition at line 162 of file stm32l4xx_hal_sram.c.
170 hsram->
State = HAL_SRAM_STATE_RESET;
FMC_NORSRAM_TypeDef * Instance
HAL_StatusTypeDef FMC_NORSRAM_DeInit(FMC_NORSRAM_TypeDef *Device, FMC_NORSRAM_EXTENDED_TypeDef *ExDevice, uint32_t Bank)
DeInitialize the FMC_NORSRAM peripheral.
FMC_NORSRAM_EXTENDED_TypeDef * Extended
void HAL_SRAM_MspDeInit(SRAM_HandleTypeDef *hsram)
DeInitialize the SRAM MSP.
FMC_NORSRAM_InitTypeDef Init
__IO HAL_SRAM_StateTypeDef State
◆ HAL_SRAM_DMA_XferCpltCallback()
DMA transfer complete callback.
- Parameters
-
| hdma | pointer to a SRAM_HandleTypeDef structure that contains the configuration information for SRAM module. |
- Return values
-
Definition at line 216 of file stm32l4xx_hal_sram.c.
◆ HAL_SRAM_DMA_XferErrorCallback()
DMA transfer complete error callback.
- Parameters
-
| hdma | pointer to a SRAM_HandleTypeDef structure that contains the configuration information for SRAM module. |
- Return values
-
Definition at line 232 of file stm32l4xx_hal_sram.c.
◆ HAL_SRAM_Init()
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
-
Definition at line 125 of file stm32l4xx_hal_sram.c.
133 if(hsram->
State == HAL_SRAM_STATE_RESET)
void HAL_SRAM_MspInit(SRAM_HandleTypeDef *hsram)
Initialize the SRAM MSP.
FMC_NORSRAM_TypeDef * Instance
HAL_StatusTypeDef FMC_NORSRAM_Extended_Timing_Init(FMC_NORSRAM_EXTENDED_TypeDef *Device, FMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank, uint32_t ExtendedMode)
Initialize the FMC_NORSRAM Extended mode Timing according to the specified parameters in the FMC_NORS...
HAL_StatusTypeDef FMC_NORSRAM_Init(FMC_NORSRAM_TypeDef *Device, FMC_NORSRAM_InitTypeDef *Init)
Initialize the FMC_NORSRAM device according to the specified control parameters in the FMC_NORSRAM_In...
FMC_NORSRAM_EXTENDED_TypeDef * Extended
FMC_NORSRAM_InitTypeDef Init
HAL_StatusTypeDef FMC_NORSRAM_Timing_Init(FMC_NORSRAM_TypeDef *Device, FMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank)
Initialize the FMC_NORSRAM Timing according to the specified parameters in the FMC_NORSRAM_TimingType...
__IO HAL_SRAM_StateTypeDef State
◆ HAL_SRAM_MspDeInit()
DeInitialize the SRAM MSP.
- Parameters
-
| hsram | pointer to a SRAM_HandleTypeDef structure that contains the configuration information for SRAM module. |
- Return values
-
Definition at line 200 of file stm32l4xx_hal_sram.c.
◆ HAL_SRAM_MspInit()
Initialize the SRAM MSP.
- Parameters
-
| hsram | pointer to a SRAM_HandleTypeDef structure that contains the configuration information for SRAM module. |
- Return values
-
Definition at line 184 of file stm32l4xx_hal_sram.c.