⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sdram_config.c

📁 ADSP 底层驱动
💻 C
字号:
/******************************************************************************/
//
// Name: 	BF533 EZ-KIT SDRAM Setup
//
/******************************************************************************

(C) Copyright 2006 - Analog Devices, Inc.  All rights reserved.

File Name:	SDRAM_Config.c

Date Modified:	7/02/03			Rev 0.1

Software:       VisualDSP++4.5

Hardware:		ADSP-BF533 EZ-KIT Board

Special Connections:  None

Purpose:		The file sets up the SDRAM
				
				

*********************************************************************************/


#include <cdefBF533.h>
#include "ccblkfn.h"




//SDRAM Setup
void Init_SDRAM(void)
{
	if (*pEBIU_SDSTAT & SDRS) {
		//SDRAM Refresh Rate Control Register
		*pEBIU_SDRRC = 0x00000817;	

		//SDRAM Memory Bank Control Register
		*pEBIU_SDBCTL = 0x00000013;

		//SDRAM Memory Global Control Register	
		*pEBIU_SDGCTL = 0x0091998d;	

		ssync();
	}
														
		

}//end Init_SDRAM


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -