STM32446E_EVAL BSP User Manual
|
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)0x0569) /* SDRAM refresh counter (90Mhz 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 | 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_DISABLE __HAL_RCC_DMA2_CLK_DISABLE |
Definition at line 94 of file stm32446e_eval_sdram.h.
#define __DMAx_CLK_ENABLE __HAL_RCC_DMA2_CLK_ENABLE |
Definition at line 93 of file stm32446e_eval_sdram.h.
Referenced by BSP_SDRAM_MspInit().
#define REFRESH_COUNT ((uint32_t)0x0569) /* SDRAM refresh counter (90Mhz SD clock) */ |
Definition at line 88 of file stm32446e_eval_sdram.h.
Referenced by BSP_SDRAM_Init().
#define SDCLOCK_PERIOD FMC_SDRAM_CLOCK_PERIOD_2 |
Definition at line 85 of file stm32446e_eval_sdram.h.
Referenced by BSP_SDRAM_Init().
#define SDRAM_DEVICE_ADDR ((uint32_t)0xC0000000) |
Definition at line 79 of file stm32446e_eval_sdram.h.
#define SDRAM_DEVICE_SIZE ((uint32_t)0x800000) /* SDRAM device size in MBytes */ |
Definition at line 80 of file stm32446e_eval_sdram.h.
#define SDRAM_DMAx_CHANNEL DMA_CHANNEL_0 |
Definition at line 95 of file stm32446e_eval_sdram.h.
Referenced by BSP_SDRAM_MspInit().
#define SDRAM_DMAx_IRQHandler DMA2_Stream0_IRQHandler |
Definition at line 98 of file stm32446e_eval_sdram.h.
#define SDRAM_DMAx_IRQn DMA2_Stream0_IRQn |
Definition at line 97 of file stm32446e_eval_sdram.h.
Referenced by BSP_SDRAM_MspDeInit(), and BSP_SDRAM_MspInit().
#define SDRAM_DMAx_STREAM DMA2_Stream0 |
Definition at line 96 of file stm32446e_eval_sdram.h.
Referenced by BSP_SDRAM_MspDeInit(), and BSP_SDRAM_MspInit().
#define SDRAM_MEMORY_WIDTH FMC_SDRAM_MEM_BUS_WIDTH_16 |
Definition at line 83 of file stm32446e_eval_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 104 of file stm32446e_eval_sdram.h.
Referenced by BSP_SDRAM_Initialization_sequence().
#define SDRAM_MODEREG_BURST_LENGTH_2 ((uint16_t)0x0001) |
Definition at line 105 of file stm32446e_eval_sdram.h.
#define SDRAM_MODEREG_BURST_LENGTH_4 ((uint16_t)0x0002) |
Definition at line 106 of file stm32446e_eval_sdram.h.
#define SDRAM_MODEREG_BURST_LENGTH_8 ((uint16_t)0x0004) |
Definition at line 107 of file stm32446e_eval_sdram.h.
#define SDRAM_MODEREG_BURST_TYPE_INTERLEAVED ((uint16_t)0x0008) |
Definition at line 109 of file stm32446e_eval_sdram.h.
#define SDRAM_MODEREG_BURST_TYPE_SEQUENTIAL ((uint16_t)0x0000) |
Definition at line 108 of file stm32446e_eval_sdram.h.
Referenced by BSP_SDRAM_Initialization_sequence().
#define SDRAM_MODEREG_CAS_LATENCY_2 ((uint16_t)0x0020) |
Definition at line 110 of file stm32446e_eval_sdram.h.
Referenced by BSP_SDRAM_Initialization_sequence().
#define SDRAM_MODEREG_CAS_LATENCY_3 ((uint16_t)0x0030) |
Definition at line 111 of file stm32446e_eval_sdram.h.
#define SDRAM_MODEREG_OPERATING_MODE_STANDARD ((uint16_t)0x0000) |
Definition at line 112 of file stm32446e_eval_sdram.h.
Referenced by BSP_SDRAM_Initialization_sequence().
#define SDRAM_MODEREG_WRITEBURST_MODE_PROGRAMMED ((uint16_t)0x0000) |
Definition at line 113 of file stm32446e_eval_sdram.h.
#define SDRAM_MODEREG_WRITEBURST_MODE_SINGLE ((uint16_t)0x0200) |
Definition at line 114 of file stm32446e_eval_sdram.h.
Referenced by BSP_SDRAM_Initialization_sequence().
#define SDRAM_TIMEOUT ((uint32_t)0xFFFF) |
Definition at line 90 of file stm32446e_eval_sdram.h.
Referenced by BSP_SDRAM_Initialization_sequence(), and BSP_SDRAM_Sendcmd().
Generated on Fri Jan 15 2016 10:06:22 for STM32446E_EVAL BSP User Manual by 1.7.6.1