EasyManua.ls Logo

ST STM32F2 - Hal_Sram_Read_Dma; Hal_Sram_Writeoperation_Disable; Hal_Sram_Writeoperation_Enable; Hal_Sram_Write_Dma

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
Loading...
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

Related product manuals