I am asking if anyone knows of any documentation for common rules as far as "good coding" with interrupts. For instance, what happens if I am in an interrupt service routine and another interrupt is called? Is it safe to call other functions in an interrupt?
Basically, I am looking for good coding practices when using interrupts. I am familiar with C, but lacking experience with interrupts. I am kinda new to them. I understand how they work, kinda, but am looking for some good coding practices.
Any help, links, etc..would be of great help. I'm sure there are "basic" rules when dealing with interrupts. If it helps at all, I plan to use timer overflow interrupts to keep scannig button presses. What happens during that time, is up for grabs. You people in here seem to have some of the best experts and that is why I am here. Thanks for any basic, good coding practices regarding interrupts.
I have read the interrupt article in this forum, but ask for the basic "DO NOT's" and "DO's" of interrupts. I have rambled enough. Thanks for any help.
Thank you all!