neoaspilet11
Full Member level 5

- Joined
- Sep 29, 2005
- Messages
- 277
- Helped
- 29
- Reputation
- 56
- Reaction score
- 8
- Trophy points
- 1,298
- Location
- Cebu, Philippines
- Activity points
- 4,048
Hello Everybody,
Please consider this case:
1.) Suppose program control is currently servicing an Interrupt caused by TMR0 Overflow, GIE bit is CLEARed.
2.) During TMR0 Overflow Interrupt servicing, an External Interrupt on RB0 occured, that is a rising edge took place and RB0 now is HIGH - this will cause the INTCON, INTF bit to HIGH.
3.) The TMR0 Overflow Interrupt service is finished, TMR0IF is CLEARed and GIE is SET again.
After program control exits the Interrupt service routine, will the external interrupt be serviced? Take note that the rising edge at RB0 already occured and INTF is HIGH already after retfie of TMR0 overflow interrupt service.
Thanks for any ideas.
Please consider this case:
1.) Suppose program control is currently servicing an Interrupt caused by TMR0 Overflow, GIE bit is CLEARed.
2.) During TMR0 Overflow Interrupt servicing, an External Interrupt on RB0 occured, that is a rising edge took place and RB0 now is HIGH - this will cause the INTCON, INTF bit to HIGH.
3.) The TMR0 Overflow Interrupt service is finished, TMR0IF is CLEARed and GIE is SET again.
After program control exits the Interrupt service routine, will the external interrupt be serviced? Take note that the rising edge at RB0 already occured and INTF is HIGH already after retfie of TMR0 overflow interrupt service.
Thanks for any ideas.