[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] problem faced in TWI interrupt driven

From: dhananjay deshpande
Subject: [avr-gcc-list] problem faced in TWI interrupt driven
Date: Fri, 17 Feb 2006 07:13:10 +0000 (GMT)

I am facing a problem that when I want to write Two Wire Interface Routines Interrupt driven,
the compiler automatically inserts "SEI and PUSH instructions" in the interrupt routine in the begining of the routine.
At this point TWINT flag is set, so the moment this SEI instruction takes place, the interrupt is re enterred.
Thank you for this wonderful forum.
AVR learner

Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]