sdram_config.c
来自「BF-533 DSP视频输入接口的代码」· C语言 代码 · 共 49 行
C
49 行
/******************************************************************************/
//
// Name: BF533 EZ-KIT SDRAM Setup
//
/******************************************************************************
(C) Copyright 2003 - Analog Devices, Inc. All rights reserved.
File Name: SDRAM_Config.c
Date Modified: 7/02/03 TL Rev 0.1
Software: VisualDSP++3.1
Hardware: ADSP-BF533 EZ-KIT Board
Special Connections: None
Purpose: The file sets up the SDRAM
*********************************************************************************/
#include <cdefBF533.h>
//SDRAM Setup
void Init_SDRAM(void)
{
//SDRAM Refresh Rate Control Register
*pEBIU_SDRRC = 0x00000817;
//SDRAM Memory Bank Control Register
*pEBIU_SDBCTL = 0x00000013;
//SDRAM Memory Global Control Register
*pEBIU_SDGCTL = 0x0091998d;
}//end Init_SDRAM
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?