20#ifndef STM32H7xx_HAL_SRAM_H
21#define STM32H7xx_HAL_SRAM_H
60#if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
61typedef struct __SRAM_HandleTypeDef
78#if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
79 void (* MspInitCallback)(
struct __SRAM_HandleTypeDef *hsram);
80 void (* MspDeInitCallback)(
struct __SRAM_HandleTypeDef *hsram);
86#if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
92 HAL_SRAM_MSP_INIT_CB_ID = 0x00U,
93 HAL_SRAM_MSP_DEINIT_CB_ID = 0x01U,
94 HAL_SRAM_DMA_XFER_CPLT_CB_ID = 0x02U,
95 HAL_SRAM_DMA_XFER_ERR_CB_ID = 0x03U
96} HAL_SRAM_CallbackIDTypeDef;
120#if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
121#define __HAL_SRAM_RESET_HANDLE_STATE(__HANDLE__) do { \
122 (__HANDLE__)->State = HAL_SRAM_STATE_RESET; \
123 (__HANDLE__)->MspInitCallback = NULL; \
124 (__HANDLE__)->MspDeInitCallback = NULL; \
127#define __HAL_SRAM_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_SRAM_STATE_RESET)
160 uint32_t BufferSize);
162 uint32_t BufferSize);
164 uint32_t BufferSize);
166 uint32_t BufferSize);
168 uint32_t BufferSize);
170 uint32_t BufferSize);
172 uint32_t BufferSize);
174 uint32_t BufferSize);
179#if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
182 pSRAM_CallbackTypeDef pCallback);
185 pSRAM_DmaCallbackTypeDef pCallback);
#define __IO
Definition: core_cm4.h:239
HAL_SRAM_StateTypeDef
HAL SRAM State structures definition.
Definition: stm32h7xx_hal_sram.h:48
@ HAL_SRAM_STATE_PROTECTED
Definition: stm32h7xx_hal_sram.h:53
@ HAL_SRAM_STATE_ERROR
Definition: stm32h7xx_hal_sram.h:52
@ HAL_SRAM_STATE_BUSY
Definition: stm32h7xx_hal_sram.h:51
@ HAL_SRAM_STATE_READY
Definition: stm32h7xx_hal_sram.h:50
@ HAL_SRAM_STATE_RESET
Definition: stm32h7xx_hal_sram.h:49
HAL_StatusTypeDef
HAL Status structures definition.
Definition: stm32h7xx_hal_def.h:47
HAL_LockTypeDef
HAL Lock structures definition.
Definition: stm32h7xx_hal_def.h:58
Header file of FMC HAL module.
FMC NORSRAM Configuration Structure definition.
Definition: stm32h7xx_ll_fmc.h:192
FMC NORSRAM Timing parameters structure definition.
Definition: stm32h7xx_ll_fmc.h:255
SRAM handle Structure definition.
Definition: stm32h7xx_hal_sram.h:65
__IO HAL_SRAM_StateTypeDef State
Definition: stm32h7xx_hal_sram.h:74
FMC_NORSRAM_InitTypeDef Init
Definition: stm32h7xx_hal_sram.h:70
FMC_NORSRAM_TypeDef * Instance
Definition: stm32h7xx_hal_sram.h:66
MDMA_HandleTypeDef * hmdma
Definition: stm32h7xx_hal_sram.h:76
FMC_NORSRAM_EXTENDED_TypeDef * Extended
Definition: stm32h7xx_hal_sram.h:68
HAL_LockTypeDef Lock
Definition: stm32h7xx_hal_sram.h:72
MDMA handle Structure definition.
Definition: stm32h7xx_hal_mdma.h:204