.........
}
其中:intfunc----
函数名称
xx 是中断向量地址
ICC AVR C 编译器
#pragma interrupt_handler intfunc : n
void intfunc(void)
{
............
}
其中:intfunc----
函数名称
n----中断向量编号
NC30 for Renesas R16C R8c...编译器
方式 1:
#pragma INTERRUPT [/B|/E|/V] intfunc
void intfunc(void)
{
............
}
其中:intfunc----
函数名称
方式 2:
#pragma INTERRUPT [/B|/E] n intfunc
void intfunc(void)