Before I start trying to measure interrupt response times I am hoping that there is someone here who may have done the work already.
My current project make use of setintflags and the comparator as the sensors are mostly analogue, how ever with some sensor can be used in a digital capacity which got me to thinking:- Is the hardware interrupt faster than the setintflags which a presume is a software interrupt?
I did a quick measure ages ago and from memory the comparator interrupt is about 200us @64mhz using a 28x2. I am thinking about moving the project over to 20x2 and it looks as though there maybe a few of pins left over, that combined with some sort of picaxe controlled switch setup (maybe a solid state relay) to switch the input from the ADC pin to a hardware interrupt maybe possible if its worth while.
My current project make use of setintflags and the comparator as the sensors are mostly analogue, how ever with some sensor can be used in a digital capacity which got me to thinking:- Is the hardware interrupt faster than the setintflags which a presume is a software interrupt?
I did a quick measure ages ago and from memory the comparator interrupt is about 200us @64mhz using a 28x2. I am thinking about moving the project over to 20x2 and it looks as though there maybe a few of pins left over, that combined with some sort of picaxe controlled switch setup (maybe a solid state relay) to switch the input from the ADC pin to a hardware interrupt maybe possible if its worth while.