Kyle, First of all, your question is probably too long for a forum, second, to answer your question in the heading and the first two paragraphs, most experienced developers will recommend that you never call an interrupt from a function. Interrupts are triggered by the hardware, possible approach is to have an interrupt set a global variable to some value than have a normal, "non interrupt" function respond to that value.
↧