Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] polling or interrupt driven transmission and receiving.

2007-11-11 by Reza

--- 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

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.