Quote Originally Posted by Ioannis View Post
I think you must be very quick on the 4th button to exit (less that 250ms plus the debug delay). If you hold the button longer the ISR will activate again,won't it?
Ioannis...You're right about this. the 250 mS delay is fine on the simulator, but is a little too short to be reliable with real hardware buttons. 400-600 is a better number for use on the hardware.

Quote Originally Posted by Ioannis View Post
Also the:
@ INT_CLEAR RBC_INT
@ INT_ENABLE RBC_INT
at the end of the ISR are not necessary as they are handled by the DT_Ints, right?
Thanks for pointing this out...it seems to be somewhat dependent on the value of the DT_INT ResetFlag Here's what I found:

Disabling @ INT_CLEAR RBC_INT
ResetFlag = yes - no change to program operation
ResetFlag = no - Interrupt reactivates again immediately
So the @ INT_CLEAR RBC_INT is dependent on the ResetFlag setting

Disabling @ INT_ENABLE RBC_INT
ResetFlag = yes - no change to program operation
ResetFlag = no - no change to program operation
So the @ INT_ENABLE RBC_INT is not necessary.

I also now realize that I still haven't quite figured out the how INT_DISABLE RBC_INT effects the Interrupt handler in it's different states.

Thanks,
Bob W.