中断设置代码如下:(通过查技术手册查到upp的中断事件号为91)
Hwi_Params_init(&upphwiParams);
upphwiParams.arg = 12;
upphwiParams.enableInt = FALSE;
upphwiParams.eventId = 91;//SYS_INT_UPP_INT,see datasheet p308
upphwiParams.priority = 12;
uppHwi = Hwi_create(6,UPP_Isr,&upphwiParams,&eb2);
if (uppHwi == NULL) {
System_abort("main: failed to create Hwi thread");
}
Hwi_enableInterrupt(6);
在程序运行中,upp的upies寄存器的相应位都设为1,在传输过程中upier寄存器eowi位也为1,但是没有进入我的中断响应函数。
想请教:是我中断响应设置哪里的问题,或还有什么额外需要设置的吗?如果我要在使用sysbios的前提下怎么去设置中断响应。