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

STM32F429I-Discovery BSP Driver

STM32F429I-Discovery BSP User Manual
STM32F429I DISCOVERY SDRAM Exported Constants

Defines

#define SDRAM_OK   ((uint8_t)0x00)
 SDRAM status structure definition.
#define SDRAM_ERROR   ((uint8_t)0x01)
#define SDRAM_DEVICE_ADDR   ((uint32_t)0xD0000000)
 FMC SDRAM Bank address.
#define SDRAM_DEVICE_SIZE   ((uint32_t)0x800000) /* SDRAM device size in Bytes */
#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   __HAL_RCC_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   __HAL_RCC_DMA2_CLK_ENABLE

Definition at line 120 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_MspInit().

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

FMC SDRAM Bank Remap.

Definition at line 116 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 100 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 95 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 82 of file stm32f429i_discovery_sdram.h.

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

Definition at line 83 of file stm32f429i_discovery_sdram.h.

#define SDRAM_DMAx_CHANNEL   DMA_CHANNEL_0

Definition at line 121 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_MspInit().

#define SDRAM_DMAx_IRQHandler   DMA2_Stream0_IRQHandler

Definition at line 124 of file stm32f429i_discovery_sdram.h.

#define SDRAM_DMAx_IRQn   DMA2_Stream0_IRQn

Definition at line 123 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_MspDeInit(), and BSP_SDRAM_MspInit().

#define SDRAM_DMAx_STREAM   DMA2_Stream0

Definition at line 122 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_MspDeInit(), and BSP_SDRAM_MspInit().

#define SDRAM_MEMORY_WIDTH   FMC_SDRAM_MEM_BUS_WIDTH_16

FMC SDRAM Memory Width.

Definition at line 89 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 129 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Initialization_sequence().

#define SDRAM_MODEREG_BURST_LENGTH_2   ((uint16_t)0x0001)

Definition at line 130 of file stm32f429i_discovery_sdram.h.

#define SDRAM_MODEREG_BURST_LENGTH_4   ((uint16_t)0x0002)

Definition at line 131 of file stm32f429i_discovery_sdram.h.

#define SDRAM_MODEREG_BURST_LENGTH_8   ((uint16_t)0x0004)

Definition at line 132 of file stm32f429i_discovery_sdram.h.

#define SDRAM_MODEREG_BURST_TYPE_INTERLEAVED   ((uint16_t)0x0008)

Definition at line 134 of file stm32f429i_discovery_sdram.h.

#define SDRAM_MODEREG_BURST_TYPE_SEQUENTIAL   ((uint16_t)0x0000)

Definition at line 133 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Initialization_sequence().

#define SDRAM_MODEREG_CAS_LATENCY_2   ((uint16_t)0x0020)

Definition at line 135 of file stm32f429i_discovery_sdram.h.

#define SDRAM_MODEREG_CAS_LATENCY_3   ((uint16_t)0x0030)

Definition at line 136 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Initialization_sequence().

#define SDRAM_MODEREG_OPERATING_MODE_STANDARD   ((uint16_t)0x0000)

Definition at line 137 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Initialization_sequence().

#define SDRAM_MODEREG_WRITEBURST_MODE_PROGRAMMED   ((uint16_t)0x0000)

Definition at line 138 of file stm32f429i_discovery_sdram.h.

#define SDRAM_MODEREG_WRITEBURST_MODE_SINGLE   ((uint16_t)0x0200)

Definition at line 139 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Initialization_sequence().

#define SDRAM_OK   ((uint8_t)0x00)
#define SDRAM_READBURST   FMC_SDRAM_RBURST_DISABLE /* Default configuration used with LCD */

FMC SDRAM Memory Read Burst feature.

Definition at line 106 of file stm32f429i_discovery_sdram.h.

Referenced by BSP_SDRAM_Init().

#define SDRAM_TIMEOUT   ((uint32_t)0xFFFF)
Generated on Fri Feb 17 2017 12:10:39 for STM32F429I-Discovery BSP User Manual by   doxygen 1.7.6.1