STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_hal_sram.h File Reference

Header file of SRAM HAL module. More...

Go to the source code of this file.

Data Structures

struct  SRAM_HandleTypeDef
 SRAM handle Structure definition. More...
 

Functions

HAL_StatusTypeDef HAL_SRAM_Init (SRAM_HandleTypeDef *hsram, FMC_NORSRAM_TimingTypeDef *Timing, FMC_NORSRAM_TimingTypeDef *ExtTiming)
 Perform the SRAM device initialization sequence. More...
 
HAL_StatusTypeDef HAL_SRAM_DeInit (SRAM_HandleTypeDef *hsram)
 Perform the SRAM device de-initialization sequence. More...
 
void HAL_SRAM_MspInit (SRAM_HandleTypeDef *hsram)
 Initialize the SRAM MSP. More...
 
void HAL_SRAM_MspDeInit (SRAM_HandleTypeDef *hsram)
 DeInitialize the SRAM MSP. More...
 
HAL_StatusTypeDef HAL_SRAM_Read_8b (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint8_t *pDstBuffer, uint32_t BufferSize)
 Read 8-bit buffer from SRAM memory. More...
 
HAL_StatusTypeDef HAL_SRAM_Write_8b (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint8_t *pSrcBuffer, uint32_t BufferSize)
 Write 8-bit buffer to SRAM memory. More...
 
HAL_StatusTypeDef HAL_SRAM_Read_16b (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint16_t *pDstBuffer, uint32_t BufferSize)
 Read 16-bit buffer from SRAM memory. More...
 
HAL_StatusTypeDef HAL_SRAM_Write_16b (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint16_t *pSrcBuffer, uint32_t BufferSize)
 Write 16-bit buffer to SRAM memory. More...
 
HAL_StatusTypeDef HAL_SRAM_Read_32b (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pDstBuffer, uint32_t BufferSize)
 Read 32-bit buffer from SRAM memory. More...
 
HAL_StatusTypeDef HAL_SRAM_Write_32b (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pSrcBuffer, uint32_t BufferSize)
 Write 32-bit buffer to SRAM memory. More...
 
HAL_StatusTypeDef HAL_SRAM_Read_DMA (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pDstBuffer, uint32_t BufferSize)
 Read a Word data buffer from the SRAM memory using DMA transfer. More...
 
HAL_StatusTypeDef HAL_SRAM_Write_DMA (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pSrcBuffer, uint32_t BufferSize)
 Write a Word data buffer to SRAM memory using DMA transfer. More...
 
void HAL_SRAM_DMA_XferCpltCallback (DMA_HandleTypeDef *hdma)
 DMA transfer complete callback. More...
 
void HAL_SRAM_DMA_XferErrorCallback (DMA_HandleTypeDef *hdma)
 DMA transfer complete error callback. More...
 
HAL_StatusTypeDef HAL_SRAM_WriteOperation_Enable (SRAM_HandleTypeDef *hsram)
 Enable dynamically SRAM write operation. More...
 
HAL_StatusTypeDef HAL_SRAM_WriteOperation_Disable (SRAM_HandleTypeDef *hsram)
 Disable dynamically SRAM write operation. More...
 
HAL_SRAM_StateTypeDef HAL_SRAM_GetState (SRAM_HandleTypeDef *hsram)
 Return the SRAM controller state. More...
 

Variables

 C
 

Detailed Description

Header file of SRAM HAL module.

Author
MCD Application Team
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l4xx_hal_sram.h.


Data Structure Documentation

◆ SRAM_HandleTypeDef

struct SRAM_HandleTypeDef

SRAM handle Structure definition.

Definition at line 60 of file stm32l4xx_hal_sram.h.

Data Fields
FMC_NORSRAM_EXTENDED_TypeDef * Extended

Extended mode register base address

DMA_HandleTypeDef * hdma

Pointer DMA handler

FMC_NORSRAM_InitTypeDef Init

SRAM device control configuration parameters

FMC_NORSRAM_TypeDef * Instance

Register base address

HAL_LockTypeDef Lock

SRAM locking object

__IO HAL_SRAM_StateTypeDef State

SRAM device access state

Variable Documentation

◆ C

C
Initial value:
{
#endif
#if defined(FMC_BANK1)
typedef enum
{
HAL_SRAM_STATE_RESET = 0x00U,
HAL_SRAM_STATE_READY = 0x01U,
HAL_SRAM_STATE_BUSY = 0x02U,
HAL_SRAM_STATE_ERROR = 0x03U,
HAL_SRAM_STATE_PROTECTED = 0x04U
}HAL_SRAM_StateTypeDef
Header file of FMC HAL module.