STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Data Structures | Macros | Enumerations | Functions
stm32f7xx_hal_sdram.h File Reference

Header file of SDRAM HAL module. More...

#include "stm32f7xx_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. More...
 

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 (DMA_HandleTypeDef *hdma)
 
void HAL_SDRAM_DMA_XferErrorCallback (DMA_HandleTypeDef *hdma)
 
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
Version
V1.1.0
Date
22-April-2016
Attention

© COPYRIGHT(c) 2016 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file stm32f7xx_hal_sdram.h.