dbout.c.bak

来自「瑞泰TMS320VC33目标板的串口通讯测试程序」· BAK 代码 · 共 49 行

BAK
49
字号
#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 + =
减小字号Ctrl + -
显示快捷键?