STM32F429I-Discovery BSP User Manual: STM32F429I DISCOVERY SDRAM Exported Constants

STM32F429I Discovery BSP Drivers

STM32F429I-Discovery BSP User Manual
STM32F429I DISCOVERY SDRAM Exported Constants

Defines

#define SDRAM_DEVICE_ADDR   ((uint32_t)0xD0000000)
 FMC SDRAM Bank address.
#define SDRAM_DEVICE_SIZE   ((uint32_t)0x800000) /* SDRAM device size in MBytes */
#define SDRAM_MEMORY_WIDTH   FMC_SDRAM_MEM_BUS_WIDTH_16
 FMC SDRAM Memory Width.
#define SDRAM_CAS_LATENCY   FMC_SDRAM_CAS_LATENCY_3
 FMC SDRAM CAS Latency.
#define SDCLOCK_PERIOD   FMC_SDRAM_CLOCK_PERIOD_2 /* Default configuration used with LCD */
 FMC SDRAM Memory clock period.
#define SDRAM_READBURST   FMC_SDRAM_RBURST_DISABLE /* Default configuration used with LCD */
 FMC SDRAM Memory Read Burst feature.
#define REFRESH_COUNT   ((uint32_t)1386) /* SDRAM refresh counter */
 FMC SDRAM Bank Remap.
#define SDRAM_TIMEOUT   ((uint32_t)0xFFFF)
#define __DMAx_CLK_ENABLE   __DMA2_CLK_ENABLE
#define SDRAM_DMAx_CHANNEL   DMA_CHANNEL_0
#define SDRAM_DMAx_STREAM   DMA2_Stream0
#define SDRAM_DMAx_IRQn   DMA2_Stream0_IRQn
#define SDRAM_DMAx_IRQHandler   DMA2_Stream0_IRQHandler
#define SDRAM_MODEREG_BURST_LENGTH_1   ((uint16_t)0x0000)
 FMC SDRAM Mode definition register defines.
#define SDRAM_MODEREG_BURST_LENGTH_2   ((uint16_t)0x0001)
#define SDRAM_MODEREG_BURST_LENGTH_4   ((uint16_t)0x0002)
#define SDRAM_MODEREG_BURST_LENGTH_8   ((uint16_t)0x0004)
#define SDRAM_MODEREG_BURST_TYPE_SEQUENTIAL   ((uint16_t)0x0000)
#define SDRAM_MODEREG_BURST_TYPE_INTERLEAVED   ((uint16_t)0x0008)
#define SDRAM_MODEREG_CAS_LATENCY_2   ((uint16_t)0x0020)
#define SDRAM_MODEREG_CAS_LATENCY_3   ((uint16_t)0x0030)
#define SDRAM_MODEREG_OPERATING_MODE_STANDARD   ((uint16_t)0x0000)
#define SDRAM_MODEREG_WRITEBURST_MODE_PROGRAMMED   ((uint16_t)0x0000)
#define SDRAM_MODEREG_WRITEBURST_MODE_SINGLE   ((uint16_t)0x0200)

Define Documentation

#define __DMAx_CLK_ENABLE   __DMA2_CLK_ENABLE

Definition at line 113 of file stm32f429i_discovery_sdram.h.

Referenced by MspInit().

#define REFRESH_COUNT   ((uint32_t)1386) /* SDRAM refresh counter */

FMC SDRAM Bank Remap.

Definition at line 109 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Init().

#define SDCLOCK_PERIOD   FMC_SDRAM_CLOCK_PERIOD_2 /* Default configuration used with LCD */

FMC SDRAM Memory clock period.

Definition at line 93 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Init().

#define SDRAM_CAS_LATENCY   FMC_SDRAM_CAS_LATENCY_3

FMC SDRAM CAS Latency.

Definition at line 88 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Init().

#define SDRAM_DEVICE_ADDR   ((uint32_t)0xD0000000)

FMC SDRAM Bank address.

Definition at line 75 of file stm32f429i_discovery_sdram.h.

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

Definition at line 76 of file stm32f429i_discovery_sdram.h.

#define SDRAM_DMAx_CHANNEL   DMA_CHANNEL_0

Definition at line 114 of file stm32f429i_discovery_sdram.h.

Referenced by MspInit().

#define SDRAM_DMAx_IRQHandler   DMA2_Stream0_IRQHandler

Definition at line 117 of file stm32f429i_discovery_sdram.h.

#define SDRAM_DMAx_IRQn   DMA2_Stream0_IRQn

Definition at line 116 of file stm32f429i_discovery_sdram.h.

Referenced by MspInit().

#define SDRAM_DMAx_STREAM   DMA2_Stream0

Definition at line 115 of file stm32f429i_discovery_sdram.h.

Referenced by MspInit().

#define SDRAM_MEMORY_WIDTH   FMC_SDRAM_MEM_BUS_WIDTH_16

FMC SDRAM Memory Width.

Definition at line 82 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Init().

#define SDRAM_MODEREG_BURST_LENGTH_1   ((uint16_t)0x0000)

FMC SDRAM Mode definition register defines.

Definition at line 122 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Initialization_sequence().

#define SDRAM_MODEREG_BURST_LENGTH_2   ((uint16_t)0x0001)

Definition at line 123 of file stm32f429i_discovery_sdram.h.

#define SDRAM_MODEREG_BURST_LENGTH_4   ((uint16_t)0x0002)

Definition at line 124 of file stm32f429i_discovery_sdram.h.

#define SDRAM_MODEREG_BURST_LENGTH_8   ((uint16_t)0x0004)

Definition at line 125 of file stm32f429i_discovery_sdram.h.

#define SDRAM_MODEREG_BURST_TYPE_INTERLEAVED   ((uint16_t)0x0008)

Definition at line 127 of file stm32f429i_discovery_sdram.h.

#define SDRAM_MODEREG_BURST_TYPE_SEQUENTIAL   ((uint16_t)0x0000)

Definition at line 126 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Initialization_sequence().

#define SDRAM_MODEREG_CAS_LATENCY_2   ((uint16_t)0x0020)

Definition at line 128 of file stm32f429i_discovery_sdram.h.

#define SDRAM_MODEREG_CAS_LATENCY_3   ((uint16_t)0x0030)

Definition at line 129 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Initialization_sequence().

#define SDRAM_MODEREG_OPERATING_MODE_STANDARD   ((uint16_t)0x0000)

Definition at line 130 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Initialization_sequence().

#define SDRAM_MODEREG_WRITEBURST_MODE_PROGRAMMED   ((uint16_t)0x0000)

Definition at line 131 of file stm32f429i_discovery_sdram.h.

#define SDRAM_MODEREG_WRITEBURST_MODE_SINGLE   ((uint16_t)0x0200)

Definition at line 132 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Initialization_sequence().

#define SDRAM_READBURST   FMC_SDRAM_RBURST_DISABLE /* Default configuration used with LCD */

FMC SDRAM Memory Read Burst feature.

Definition at line 99 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Init().

#define SDRAM_TIMEOUT   ((uint32_t)0xFFFF)
Generated on Wed Jan 13 2016 13:22:14 for STM32F429I-Discovery BSP User Manual by   doxygen 1.7.6.1