Interrupt friendly behavior for AVR