中断程序规则

我要报错
  • Keil C51中断程序规则

    interrupt 函数属性当包含在一个声明中指定函数为一个中断函数例如unsigned int interruptcnt;unsigned char second;void timer0 (void) interrupt 1 using 2{ if (++interruptcnt == 4000) { /* count to 4000 */