/** ****************************************************************************** * @file FMC/FMC_SDRAM/Inc/main.h * @author MCD Application Team * @brief Header for main.c module ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... *//* Define to prevent recursive inclusion -------------------------------------*/#ifndef__MAIN_H#define__MAIN_H/* Includes ------------------------------------------------------------------*/#include"stm32f4xx_hal.h"#include"stm32f429i_discovery.h"Includes/* Exported types ------------------------------------------------------------*//* Exported constants --------------------------------------------------------*/#defineSDRAM_BANK_ADDR((uint32_t)0xD0000000)/* #define SDRAM_MEMORY_WIDTH FMC_SDRAM_MEM_BUS_WIDTH_8 */#defineSDRAM_MEMORY_WIDTHFMC_SDRAM_MEM_BUS_WIDTH_16/* #define SDCLOCK_PERIOD FMC_SDRAM_CLOCK_PERIOD_2 */#defineSDCLOCK_PERIODFMC_SDRAM_CLOCK_PERIOD_3#defineSDRAM_TIMEOUT((uint32_t)0xFFFF)#defineSDRAM_MODEREG_BURST_LENGTH_1((uint16_t)0x0000)#defineSDRAM_MODEREG_BURST_LENGTH_2((uint16_t)0x0001)#defineSDRAM_MODEREG_BURST_LENGTH_4((uint16_t)0x0002)#defineSDRAM_MODEREG_BURST_LENGTH_8((uint16_t)0x0004)#defineSDRAM_MODEREG_BURST_TYPE_SEQUENTIAL((uint16_t)0x0000)#defineSDRAM_MODEREG_BURST_TYPE_INTERLEAVED((uint16_t)0x0008)#defineSDRAM_MODEREG_CAS_LATENCY_2((uint16_t)0x0020)#defineSDRAM_MODEREG_CAS_LATENCY_3((uint16_t)0x0030)#defineSDRAM_MODEREG_OPERATING_MODE_STANDARD((uint16_t)0x0000)#defineSDRAM_MODEREG_WRITEBURST_MODE_PROGRAMMED((uint16_t)0x0000)#defineSDRAM_MODEREG_WRITEBURST_MODE_SINGLE((uint16_t)0x0200)15 definesExported constants/* Exported macro ------------------------------------------------------------*//* Exported functions ------------------------------------------------------- *//* ... */#endif/* __MAIN_H */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.