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

📄 irq.c

📁 This project is created using the Keil ARM CA Compiler. The Logic Analyzer built into the simula
💻 C
字号:
/*
 *  IRQ Handler for ADuC7000 Timer0 Interrupt
 */

#include <ADuC7024.H>

volatile int T0_ticks;

void IRQ_Handler (void)  __irq  {
  if (IRQSIG & 0x00000004)  {   // Timer0 Interrupt
    T0CLRI = 1;
    T0_ticks++;
  }
}


⌨️ 快捷键说明

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