Hello guys,
What is the approximate total overhead in terms of clock cycles for context switch to and from an (external) interrupt? In other words, if thread A is running, when it gets interrupted after how many cycles will it resume, assuming all I do inside the interrupt is increment a byte?
Thanks
EDIT: Just to precise, I'm using Avr Studio 4