I'm developing an application on the PIC18F6621. It needs to have a high priority A/D interrupt. In the past (on devices with only a single interrupt level) I have always used the #INT_DEFAULT directive to catch any erroneous interrupts and clear them. It doesn't appear that I can use that for FAST interrupts.
In addition, when I look at the listing, it doesn't appear that the compiler is testing to see which interrupt has fired for the FAST interrupts. It looks like all high priority interrupts will come to my A/D interrupt. That is probably okay since I can test for the ADIF flag there myself.
It also appears that I can only define a single FAST interrupt. I would not have expected that limitation since the SFR's would allow any number to be defined.
Can anyone confirm if the following are true?
1) There is no #INT_DEFAULT feature for FAST interrupts
2) Only a single FAST interrupt may be defined
3) There is no testing of interrupt flags performed by the compiler-generated interrupt handler.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum