Interrupt Macro
Posted: Wed Sep 12, 2012 10:34 am
Hello
Using 18F2620 to capture 8bit data on port using strobe on INT0. Does the FC interrupt
macro clear the interrupt flag automatically when entering the ISR (interrupt service routine)?
Also, does it automatically re-enable the INT0 when exiting the ISR?
Reason, i ask is that using interrupts before using a different compiler, you have to clear the interrupt
flag.....and the interrupt is re-enabled when exiting the routine(typically a RETFIE asm command).
Flowcode is awesome (for lazy guys like me)
Cheers
Mark
Using 18F2620 to capture 8bit data on port using strobe on INT0. Does the FC interrupt
macro clear the interrupt flag automatically when entering the ISR (interrupt service routine)?
Also, does it automatically re-enable the INT0 when exiting the ISR?
Reason, i ask is that using interrupts before using a different compiler, you have to clear the interrupt
flag.....and the interrupt is re-enabled when exiting the routine(typically a RETFIE asm command).
Flowcode is awesome (for lazy guys like me)
Cheers
Mark