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

📄 5402_mmr.gel

📁 一个完整的DSP5402系统
💻 GEL
字号:
/* set PMST to: MP =  OVLY = 1; DROM off, CLKOUT on */
#define PMST_VAL        0x00e0u      /* Register value */
#define ST1_VAL         0x2900u  
#define ST0_VAL         0x0000u
/* set wait-state control reg for: 2 w/s or more on i/o; one for ext memory */
/*#define SWWSR_VAL       0x2009u      /* Register value */

/* set external-banks switch control for: no bank switching; BH set =1*/
/*#define BSCR_VAL        0x02u        /* Register value */


/* The Startup() function is executed when the GEL file is loaded. */

StartUp()
{
	GEL_Reset();
	PMST = PMST_VAL;
    ST1=ST1_VAL;
    ST0=ST0_VAL;
/* don't change the wait states, let the application code handle it */
/* note: at power up all wait states will be the maximum (7)        */
	
	//SWWSR = SWWSR_VAL;                                          
	//BSCR = BSCR_VAL;

	
	GEL_MapOn();                         /* enables memory mapping */

}


	


	

⌨️ 快捷键说明

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