STM32H735xx HAL User Manual
|
Header file of SRAM HAL module. More...
#include "stm32h7xx_ll_fmc.h"
Go to the source code of this file.
Data Structures | |
struct | __SRAM_HandleTypeDef |
SRAM handle Structure definition. More... | |
Defines | |
#define | __HAL_SRAM_RESET_HANDLE_STATE(__HANDLE__) |
Reset SRAM handle state. | |
Typedefs | |
typedef struct __SRAM_HandleTypeDef | SRAM_HandleTypeDef |
SRAM handle Structure definition. | |
typedef void(* | pSRAM_CallbackTypeDef )(SRAM_HandleTypeDef *hsram) |
HAL SRAM Callback pointer definition. | |
typedef void(* | pSRAM_DmaCallbackTypeDef )(MDMA_HandleTypeDef *hmdma) |
Enumerations | |
enum | HAL_SRAM_StateTypeDef { 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 State structures definition. More... | |
enum | HAL_SRAM_CallbackIDTypeDef { HAL_SRAM_MSP_INIT_CB_ID = 0x00U, HAL_SRAM_MSP_DEINIT_CB_ID = 0x01U, HAL_SRAM_DMA_XFER_CPLT_CB_ID = 0x02U, HAL_SRAM_DMA_XFER_ERR_CB_ID = 0x03U } |
HAL SRAM Callback ID enumeration definition. More... | |
Functions | |
HAL_StatusTypeDef | HAL_SRAM_Init (SRAM_HandleTypeDef *hsram, FMC_NORSRAM_TimingTypeDef *Timing, FMC_NORSRAM_TimingTypeDef *ExtTiming) |
Performs the SRAM device initialization sequence. | |
HAL_StatusTypeDef | HAL_SRAM_DeInit (SRAM_HandleTypeDef *hsram) |
Performs the SRAM device De-initialization sequence. | |
__weak void | HAL_SRAM_MspInit (SRAM_HandleTypeDef *hsram) |
SRAM MSP Init. | |
__weak void | HAL_SRAM_MspDeInit (SRAM_HandleTypeDef *hsram) |
SRAM MSP DeInit. | |
HAL_StatusTypeDef | HAL_SRAM_Read_8b (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint8_t *pDstBuffer, uint32_t BufferSize) |
Reads 8-bit buffer from SRAM memory. | |
HAL_StatusTypeDef | HAL_SRAM_Write_8b (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint8_t *pSrcBuffer, uint32_t BufferSize) |
Writes 8-bit buffer to SRAM memory. | |
HAL_StatusTypeDef | HAL_SRAM_Read_16b (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint16_t *pDstBuffer, uint32_t BufferSize) |
Reads 16-bit buffer from SRAM memory. | |
HAL_StatusTypeDef | HAL_SRAM_Write_16b (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint16_t *pSrcBuffer, uint32_t BufferSize) |
Writes 16-bit buffer to SRAM memory. | |
HAL_StatusTypeDef | HAL_SRAM_Read_32b (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pDstBuffer, uint32_t BufferSize) |
Reads 32-bit buffer from SRAM memory. | |
HAL_StatusTypeDef | HAL_SRAM_Write_32b (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pSrcBuffer, uint32_t BufferSize) |
Writes 32-bit buffer to SRAM memory. | |
HAL_StatusTypeDef | HAL_SRAM_Read_DMA (SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pDstBuffer, uint32_t BufferSize) |
Reads a Words data 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) |
Writes a Words data buffer to SRAM memory using DMA transfer. | |
void | HAL_SRAM_DMA_XferCpltCallback (MDMA_HandleTypeDef *hmdma) |
DMA transfer complete callback. | |
void | HAL_SRAM_DMA_XferErrorCallback (MDMA_HandleTypeDef *hmdma) |
DMA transfer complete error callback. | |
HAL_StatusTypeDef | HAL_SRAM_RegisterCallback (SRAM_HandleTypeDef *hsram, HAL_SRAM_CallbackIDTypeDef CallbackId, pSRAM_CallbackTypeDef pCallback) |
Register a User SRAM Callback To be used instead of the weak (surcharged) predefined callback. | |
HAL_StatusTypeDef | HAL_SRAM_UnRegisterCallback (SRAM_HandleTypeDef *hsram, HAL_SRAM_CallbackIDTypeDef CallbackId) |
Unregister a User SRAM Callback SRAM Callback is redirected to the weak (surcharged) predefined callback. | |
HAL_StatusTypeDef | HAL_SRAM_RegisterDmaCallback (SRAM_HandleTypeDef *hsram, HAL_SRAM_CallbackIDTypeDef CallbackId, pSRAM_DmaCallbackTypeDef pCallback) |
Register a User SRAM Callback for DMA transfers To be used instead of the weak (surcharged) predefined callback. | |
HAL_StatusTypeDef | HAL_SRAM_WriteOperation_Enable (SRAM_HandleTypeDef *hsram) |
Enables dynamically SRAM write operation. | |
HAL_StatusTypeDef | HAL_SRAM_WriteOperation_Disable (SRAM_HandleTypeDef *hsram) |
Disables dynamically SRAM write operation. | |
HAL_SRAM_StateTypeDef | HAL_SRAM_GetState (SRAM_HandleTypeDef *hsram) |
Returns the SRAM controller state. |
Header file of SRAM HAL module.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32h7xx_hal_sram.h.