EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #571 background imageLoading...
Page #571 background image
UM1940
HAL SRAM Generic Driver
DocID028236 Rev 2
571/1371
HAL_SRAM_Read_DMA
Function name
HAL_StatusTypeDef HAL_SRAM_Read_DMA
(SRAM_HandleTypeDef * hsram, uint32_t * pAddress, uint32_t
* pDstBuffer, uint32_t BufferSize)
Function description
Reads a Words data from the SRAM memory using DMA transfer.
Parameters
hsram: pointer to a SRAM_HandleTypeDef structure that
contains the configuration information for SRAM module.
pAddress: Pointer to read start address
pDstBuffer: Pointer to destination buffer
BufferSize: Size of the buffer to read from memory
Return values
HAL: status
HAL_SRAM_Write_DMA
Function name
HAL_StatusTypeDef HAL_SRAM_Write_DMA
(SRAM_HandleTypeDef * hsram, uint32_t * pAddress, uint32_t
* pSrcBuffer, uint32_t BufferSize)
Function description
Writes a Words data buffer to SRAM memory using DMA transfer.
Parameters
hsram: pointer to a SRAM_HandleTypeDef structure that
contains the configuration information for SRAM module.
pAddress: Pointer to write start address
pSrcBuffer: Pointer to source buffer to write
BufferSize: Size of the buffer to write to memory
Return values
HAL: status
HAL_SRAM_WriteOperation_Enable
Function name
HAL_StatusTypeDef HAL_SRAM_WriteOperation_Enable
(SRAM_HandleTypeDef * hsram)
Function description
Enables dynamically SRAM write operation.
Parameters
hsram: pointer to a SRAM_HandleTypeDef structure that
contains the configuration information for SRAM module.
Return values
HAL: status
HAL_SRAM_WriteOperation_Disable
Function name
HAL_StatusTypeDef HAL_SRAM_WriteOperation_Disable
(SRAM_HandleTypeDef * hsram)
Function description
Disables dynamically SRAM write operation.
Parameters
hsram: pointer to a SRAM_HandleTypeDef structure that
contains the configuration information for SRAM module.
Return values
HAL: status
HAL_SRAM_GetState
Function name
HAL_SRAM_StateTypeDef HAL_SRAM_GetState
(SRAM_HandleTypeDef * hsram)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals