- UID
- 340891
- 性别
- 男
|
Link Error : L1108: Initializing of Vector RTI_ISR failed because of over- or underflow of vector value
Link Error : Link failed
程序如下:
static void RTI_Init(void)
{
RTICTL = 0x1F; // 实时中断溢出时间1.024ms(系统晶振16MHZ)
CRGINT = 0x80; // 实时中断使能
}
//实时中断子程序
#pragma CODE_SEG_NEAR_SEG NON_BANKED
interrupt void RTI_ISR(void)
{
CRGFLG = 0x80; //中断标志位清零
Timer1ms_Flag = 1;
}
#pragma CODE_SEG DEFAULT
我在Prm文件中定义了: VECTOR ADDRESS 0xFFF0 RTI_ISR //RTI实时中断向量函数入口 |
|