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

📄 main.c

📁 实现了TI的C672x写列DSP的dMAX服务于MCASP的配置,
💻 C
字号:
// This is the minimal project for the PADK.
/*****************define for the external functions***************/
/*extern function defines*/
#include "functions.h"
#include "peripheral.H"
/*include the interrupt table*/
extern void vectors();
//********** variable ***************************/
short *isdram_prog = (short *)SDRAM_BASE_ADD;
/*main function*/
int main( int argc, char *argv[] )
{
	char	i;
	short 	stmp;
	init_pll();
	init_emif();
	//init the interrupts
	//init_interrupt();
	//init the mcasp0
	//init_mcasp0();
	i = 100;
	while(1)
	{
		while(i--)
		{
			isdram_prog[i] = i;
			//isdram_prog[1] = 0x0055;
		}
		stmp = isdram_prog[0];
		stmp ^= 0x00FF;
	}
}

⌨️ 快捷键说明

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