--- David VanHorn <microbrix@gmail.com> wrote: > > > > A good compromise I often use is to poll on TX, > interrupt on receive. > > VBG > > I poll the tx buffer, and when it has something to > send, I turn on the > TX interrupt. > :) > > RX on int always though. > for send or transmit simple data like strings it is not important to use ISR or polling. but for complex packet frames like in 3964 protocol or other serial communication protocols, a state machine using both RX and TX interrupts is perfect. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Message
Re: [AVR-Chat] polling or interrupt driven transmission and receiving.
2007-11-11 by Reza