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

📄 dbout.c.bak

📁 瑞泰TMS320VC33目标板的串口通讯测试程序
💻 BAK
字号:
#define DBOUT		*(int *)0xB00000
cregister unsigned int IOF,IE,IF,ST;
void interrupt int1(void); 

main()
{
	int i;  
	int buf;
	/*IE=0x2;
	IF=0;
	ST=0x2000; 	
	INT1 = (int )int1|0x60000000;*/ 
	buf=DBOUT;   
	asm(" NOP"); 
	DBOUT =0x0000;
    asm(" NOP");  
	asm(" NOP");
	asm(" NOP"); 
	asm(" NOP");  
	for(;;)
	{
		DBOUT =0xFFFF;		 
		asm(" NOP");  
		asm(" NOP");
		asm(" NOP"); 
		asm(" NOP");
		buf=DBOUT;
		asm(" NOP");
		asm(" NOP");
		asm(" NOP");  	
		DBOUT =0x0000; 
		asm(" NOP");
		asm(" NOP"); 
		asm(" NOP");
		buf=DBOUT;
		asm(" NOP");
		asm(" NOP");
		asm(" NOP");	
      }

}
/*void interrupt int1(void)
{
	int i;
	i=0;
	i++;
} */

⌨️ 快捷键说明

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