I always thought it was best to keep the coding within an interrupt to a minimum. I set flags and then check for them in my main logic.
If code absolutely has to execute within the interrupt, I'd place it in-line. I would think calling an other subroutine chews cycles needlessly.
Robert




Bookmarks