STM32746G-Discovery BSP User Manual: STM32746G_DISCOVERY_SDRAM Exported Constants

STM32746G-Discovery BSP Drivers

STM32746G-Discovery BSP User Manual
STM32746G_DISCOVERY_SDRAM Exported Constants

Defines

#define SDRAM_DEVICE_ADDR   ((uint32_t)0xC0000000)
#define SDRAM_DEVICE_SIZE   ((uint32_t)0x800000) /* SDRAM device size in MBytes */
#define SDRAM_MEMORY_WIDTH   FMC_SDRAM_MEM_BUS_WIDTH_16
#define SDCLOCK_PERIOD   FMC_SDRAM_CLOCK_PERIOD_2
#define REFRESH_COUNT   ((uint32_t)0x0603) /* SDRAM refresh counter (100Mhz SD clock) */
#define SDRAM_TIMEOUT   ((uint32_t)0xFFFF)
#define __DMAx_CLK_ENABLE   __HAL_RCC_DMA2_CLK_ENABLE
#define __DMAx_CLK_DISABLE   __HAL_RCC_DMA2_CLK_DISABLE
#define SDRAM_DMAx_CHANNEL   DMA_CHANNEL_0
#define SDRAM_DMAx_STREAM   DMA2_Stream0
#define SDRAM_DMAx_IRQn   DMA2_Stream0_IRQn
#define BSP_SDRAM_DMA_IRQHandler   DMA2_Stream0_IRQHandler

Define Documentation

#define __DMAx_CLK_DISABLE   __HAL_RCC_DMA2_CLK_DISABLE

Definition at line 90 of file stm32746g_discovery_sdram.h.

#define __DMAx_CLK_ENABLE   __HAL_RCC_DMA2_CLK_ENABLE

Definition at line 89 of file stm32746g_discovery_sdram.h.

Referenced by BSP_SDRAM_MspInit().

#define BSP_SDRAM_DMA_IRQHandler   DMA2_Stream0_IRQHandler

Definition at line 94 of file stm32746g_discovery_sdram.h.

#define REFRESH_COUNT   ((uint32_t)0x0603) /* SDRAM refresh counter (100Mhz SD clock) */

Definition at line 84 of file stm32746g_discovery_sdram.h.

Referenced by BSP_SDRAM_Init().

#define SDCLOCK_PERIOD   FMC_SDRAM_CLOCK_PERIOD_2

Definition at line 81 of file stm32746g_discovery_sdram.h.

Referenced by BSP_SDRAM_Init().

#define SDRAM_DEVICE_ADDR   ((uint32_t)0xC0000000)

Definition at line 75 of file stm32746g_discovery_sdram.h.

#define SDRAM_DEVICE_SIZE   ((uint32_t)0x800000) /* SDRAM device size in MBytes */

Definition at line 76 of file stm32746g_discovery_sdram.h.

#define SDRAM_DMAx_CHANNEL   DMA_CHANNEL_0

Definition at line 91 of file stm32746g_discovery_sdram.h.

Referenced by BSP_SDRAM_MspInit().

#define SDRAM_DMAx_IRQn   DMA2_Stream0_IRQn

Definition at line 93 of file stm32746g_discovery_sdram.h.

Referenced by BSP_SDRAM_MspDeInit(), and BSP_SDRAM_MspInit().

#define SDRAM_DMAx_STREAM   DMA2_Stream0

Definition at line 92 of file stm32746g_discovery_sdram.h.

Referenced by BSP_SDRAM_MspDeInit(), and BSP_SDRAM_MspInit().

#define SDRAM_MEMORY_WIDTH   FMC_SDRAM_MEM_BUS_WIDTH_16

Definition at line 79 of file stm32746g_discovery_sdram.h.

Referenced by BSP_SDRAM_Init().

#define SDRAM_TIMEOUT   ((uint32_t)0xFFFF)
Generated on Fri Dec 30 2016 16:31:33 for STM32746G-Discovery BSP User Manual by   doxygen 1.7.6.1