Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Input Output and memory control functions
[SRAM Exported Functions]
Input Output and memory control functions. More...
Functions | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. |
Detailed Description
Input Output and memory control functions.
============================================================================== ##### SRAM Input and Output functions ##### ============================================================================== [..] This section provides functions allowing to use and control the SRAM memory
Function Documentation
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.
- 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
Definition at line 365 of file stm32l4xx_hal_sram.c.
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.
- 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
Definition at line 443 of file stm32l4xx_hal_sram.c.
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.
- 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
Definition at line 287 of file stm32l4xx_hal_sram.c.
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.
- 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
Definition at line 517 of file stm32l4xx_hal_sram.c.
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.
- 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
Definition at line 401 of file stm32l4xx_hal_sram.c.
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.
- 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
Definition at line 477 of file stm32l4xx_hal_sram.c.
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.
- 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
Definition at line 323 of file stm32l4xx_hal_sram.c.
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.
- 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
Definition at line 550 of file stm32l4xx_hal_sram.c.
Generated on Tue Jul 12 2022 17:38:54 by
