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

📄 ram.c

📁 ADuC7020/26是ADI模拟公司开发的ARM7TDMI内核
💻 C
字号:
#include <ADuC7026.h>

//	Function Prototypes with attribute definitions
void IRQ_Handler() __irq;

/********************************************************************/
/*                                                                  */
/*		Interrupt Service Rountine									*/
/*                                                                  */
/********************************************************************/

void IRQ_Handler() __irq __ram	   	// Two attributes, specifying function as an
{									// interupt and to be located in ram

	GP4DAT ^= 0x00040000;	   		// 	Complement Port 4.2
	while(GP0DAT & 0x00010){}		// 	Wait for XIRQ to be low again
}

⌨️ 快捷键说明

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