哦,这太难堪了,因为前面我的评论,我找不到那个错误:(这个PIC只有一个“全局”中断功能吗?”我习惯于为每个中断定义不同的中断例程(例如,完成ADC转换的一个功能,一个用于定时器溢出中断等),但我不知道在这种情况下这是否可能?如果不是这样的话,我想用我所做的if语句过滤适当的中断原因,我猜?
以上来自于百度翻译
以下为原文
Oh that's so embarrassing, i couldn't find that error because of my comment in front of it :(
Is there only one "global" interrupt function for this PIC? I am used to defining different interrupt routines for each interrupt (for example, one function for ADC conversion completed, one for Timer overflow interrupt, etc.), but i don't know if this is possible in this case? If not: I have to filter the appropriate interrupt cause with if-statements like i did, i guess?
哦,这太难堪了,因为前面我的评论,我找不到那个错误:(这个PIC只有一个“全局”中断功能吗?”我习惯于为每个中断定义不同的中断例程(例如,完成ADC转换的一个功能,一个用于定时器溢出中断等),但我不知道在这种情况下这是否可能?如果不是这样的话,我想用我所做的if语句过滤适当的中断原因,我猜?
以上来自于百度翻译
以下为原文
Oh that's so embarrassing, i couldn't find that error because of my comment in front of it :(
Is there only one "global" interrupt function for this PIC? I am used to defining different interrupt routines for each interrupt (for example, one function for ADC conversion completed, one for Timer overflow interrupt, etc.), but i don't know if this is possible in this case? If not: I have to filter the appropriate interrupt cause with if-statements like i did, i guess?
举报