Dec 13, 2012 #1 D dharanikumarsrvn Junior Member level 1 Joined Oct 22, 2012 Messages 15 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,401 setting a logic high on a interrupt flag how actually resets its value in mega 16 ?
Dec 13, 2012 #2 Tahmid Advanced Member level 6 Joined Jun 17, 2008 Messages 4,756 Helped 1,798 Reputation 3,588 Reaction score 1,656 Trophy points 1,413 Location Berkeley, California Activity points 30,584 In the interrupt, you don't have to set the interrupt flag to a logic high. The flag is cleared in hardware. Only when polling, you need to set the interrupt flag high and the flag will be cleared.
In the interrupt, you don't have to set the interrupt flag to a logic high. The flag is cleared in hardware. Only when polling, you need to set the interrupt flag high and the flag will be cleared.