Have you checked this out?
http://DarrelTaylor.com/DT_INTS-18/home.html
Search DT-INT by Darrel on the forums.
Robert
Have you checked this out?
http://DarrelTaylor.com/DT_INTS-18/home.html
Search DT-INT by Darrel on the forums.
Robert
I haven't seen that, it may help me a lot, thanks.
Hi,
DT-INTS is probably the best way to go but to answer the original question you do need to poll the individual interrupt request flags, there simply is no way around that because there is only one interrupt vector in the PIC12/16/18 (not counting high/low priority). Some microcontrollers have, like you say, an interrupt vector for each interrups source but these PICs doesn't so the only way to determine the cause of the interrupt is to poll the flags. If you're going with DT-Ints it does that for you though.
/Henrik.
I think that for the PIC16f877A you will need DT_INTS-14 version, not the DT_INTS-18 (which is only for the 18 series devices, I believe). Both versions, and a few other useful things, can be found here: http://dt.cambs.net/
Perhaps these things should find their way into the WIKI?
It's always a hunting trip to find and figure out the latest versions, but worth the effort when you eventually get there.
Bookmarks