I would read the port as fast as possible (immediately on interrupt) by saving it in an 8-bit
variable, and then testing for the port bit in question stored in my variable.
MyPort VAR BYTE. MyPort=PORTA. Now test bits in MyPort for the change.
Edit:
The only interrupt flags available are those shown in the data sheet.
Bookmarks