RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Structures | Macros | Enumerations | Functions
stm32h7xx_hal_sdram.h File Reference

Header file of SDRAM HAL module. More...

#include "stm32h7xx_ll_fmc.h"

Go to the source code of this file.

Data Structures

struct  SDRAM_HandleTypeDef
 SDRAM handle Structure definition. More...
 

Macros

#define __HAL_SDRAM_RESET_HANDLE_STATE(__HANDLE__)   ((__HANDLE__)->State = HAL_SDRAM_STATE_RESET)
 Reset SDRAM handle state.
 

Enumerations

enum  HAL_SDRAM_StateTypeDef {
  HAL_SDRAM_STATE_RESET = 0x00U , HAL_SDRAM_STATE_READY = 0x01U , HAL_SDRAM_STATE_BUSY = 0x02U , HAL_SDRAM_STATE_ERROR = 0x03U ,
  HAL_SDRAM_STATE_WRITE_PROTECTED = 0x04U , HAL_SDRAM_STATE_PRECHARGED = 0x05U
}
 HAL SDRAM State structure definition. More...
 

Functions

HAL_StatusTypeDef HAL_SDRAM_Init (SDRAM_HandleTypeDef *hsdram, FMC_SDRAM_TimingTypeDef *Timing)
 
HAL_StatusTypeDef HAL_SDRAM_DeInit (SDRAM_HandleTypeDef *hsdram)
 
void HAL_SDRAM_MspInit (SDRAM_HandleTypeDef *hsdram)
 
void HAL_SDRAM_MspDeInit (SDRAM_HandleTypeDef *hsdram)
 
void HAL_SDRAM_IRQHandler (SDRAM_HandleTypeDef *hsdram)
 
void HAL_SDRAM_RefreshErrorCallback (SDRAM_HandleTypeDef *hsdram)
 
void HAL_SDRAM_DMA_XferCpltCallback (MDMA_HandleTypeDef *hmdma)
 
void HAL_SDRAM_DMA_XferErrorCallback (MDMA_HandleTypeDef *hmdma)
 
HAL_StatusTypeDef HAL_SDRAM_Read_8b (SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint8_t *pDstBuffer, uint32_t BufferSize)
 
HAL_StatusTypeDef HAL_SDRAM_Write_8b (SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint8_t *pSrcBuffer, uint32_t BufferSize)
 
HAL_StatusTypeDef HAL_SDRAM_Read_16b (SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint16_t *pDstBuffer, uint32_t BufferSize)
 
HAL_StatusTypeDef HAL_SDRAM_Write_16b (SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint16_t *pSrcBuffer, uint32_t BufferSize)
 
HAL_StatusTypeDef HAL_SDRAM_Read_32b (SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint32_t *pDstBuffer, uint32_t BufferSize)
 
HAL_StatusTypeDef HAL_SDRAM_Write_32b (SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint32_t *pSrcBuffer, uint32_t BufferSize)
 
HAL_StatusTypeDef HAL_SDRAM_Read_DMA (SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint32_t *pDstBuffer, uint32_t BufferSize)
 
HAL_StatusTypeDef HAL_SDRAM_Write_DMA (SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint32_t *pSrcBuffer, uint32_t BufferSize)
 
HAL_StatusTypeDef HAL_SDRAM_WriteProtection_Enable (SDRAM_HandleTypeDef *hsdram)
 
HAL_StatusTypeDef HAL_SDRAM_WriteProtection_Disable (SDRAM_HandleTypeDef *hsdram)
 
HAL_StatusTypeDef HAL_SDRAM_SendCommand (SDRAM_HandleTypeDef *hsdram, FMC_SDRAM_CommandTypeDef *Command, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_SDRAM_ProgramRefreshRate (SDRAM_HandleTypeDef *hsdram, uint32_t RefreshRate)
 
HAL_StatusTypeDef HAL_SDRAM_SetAutoRefreshNumber (SDRAM_HandleTypeDef *hsdram, uint32_t AutoRefreshNumber)
 
uint32_t HAL_SDRAM_GetModeStatus (SDRAM_HandleTypeDef *hsdram)
 
HAL_SDRAM_StateTypeDef HAL_SDRAM_GetState (SDRAM_HandleTypeDef *hsdram)
 

Detailed Description

Header file of SDRAM HAL module.

Author
MCD Application Team
Attention

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.