Faster ISRs -possible solutions? | Cypress Semiconductor
Faster ISRs -possible solutions?
I've a situation where execution time is very critical. (branching to ISR - returning & stuff should occur very quickly.) I tried using normal C code,
PRT1DR ^= 0x01; // just as a test to whether the comparator responds that quick or not.
I got a much delayed waveform on a DSO wherein my event occurs much before & even overlaps occur between consecutive events . Is there a wayout in assembly ? Would it decrease execution time ? If so, please provide sample code or snippets