STM32F4xx_HAL_Driver
1.8.3
|
Header file of SRAM HAL module. More...
Go to the source code of this file.
Data Structures | |
struct | endif |
ADC handle Structure definition. More... | |
Typedefs | |
typedef struct __SRAM_HandleTypeDef else typedef struct endif | SRAM_HandleTypeDef |
SRAM handle Structure definition. | |
typedef void(* | pSRAM_CallbackTypeDef) (SRAM_HandleTypeDef *hsram) |
HAL SRAM Callback pointer definition. | |
typedef void(* | pSRAM_DmaCallbackTypeDef) (DMA_HandleTypeDef *hdma) |
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. More... | |
HAL_StatusTypeDef | HAL_SRAM_DeInit (SRAM_HandleTypeDef *hsram) |
Performs the SRAM device De-initialization sequence. More... | |
void | HAL_SRAM_MspInit (SRAM_HandleTypeDef *hsram) |
SRAM MSP Init. More... | |
void | HAL_SRAM_MspDeInit (SRAM_HandleTypeDef *hsram) |
SRAM MSP DeInit. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
void | HAL_SRAM_DMA_XferCpltCallback (DMA_HandleTypeDef *hdma) |
DMA transfer complete callback. More... | |
void | HAL_SRAM_DMA_XferErrorCallback (DMA_HandleTypeDef *hdma) |
DMA transfer complete error callback. More... | |
HAL_StatusTypeDef | HAL_SRAM_RegisterCallback (SRAM_HandleTypeDef *hsram, HAL_SRAM_CallbackIDTypeDef CallbackId, pSRAM_CallbackTypeDef pCallback) |
Register a User SRAM Callback To be used to override the weak predefined callback. More... | |
HAL_StatusTypeDef | HAL_SRAM_UnRegisterCallback (SRAM_HandleTypeDef *hsram, HAL_SRAM_CallbackIDTypeDef CallbackId) |
Unregister a User SRAM Callback SRAM Callback is redirected to the weak predefined callback. More... | |
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 to override the weak predefined callback. More... | |
HAL_StatusTypeDef | HAL_SRAM_WriteOperation_Enable (SRAM_HandleTypeDef *hsram) |
Enables dynamically SRAM write operation. More... | |
HAL_StatusTypeDef | HAL_SRAM_WriteOperation_Disable (SRAM_HandleTypeDef *hsram) |
Disables dynamically SRAM write operation. More... | |
HAL_SRAM_StateTypeDef | HAL_SRAM_GetState (const SRAM_HandleTypeDef *hsram) |
Returns the SRAM controller state. More... | |
Header file of SRAM HAL module.
Copyright (c) 2016 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 stm32f4xx_hal_sram.h.