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

📄 ram.c

📁 ADuC系列芯片的源代码事例
💻 C
字号:
#include <ADuC7026.h>

//	Function Prototypes with attribute definitions

void	My_IRQ_Function(void) __attribute__ ((interrupt ("IRQ"))) __attribute__ ((section (".ram_func")));

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

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



⌨️ 快捷键说明

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