Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/16/05 07:39
Read: times


 
#105319 - Polled; Interrupt
Responding to: ???'s previous message
Jon Ledbetter said:
I still want to include a few more sample programs to show the difference between polled and interrupt driven I/O and one with a ring buffer as Sasha suggested. But I've stumped myself.

Keil has a fine example of ring-buffered interrupt-driven serial IO.

Is there such thing as polled transmit?

Of course there is!

Because you're really not polling to see if there is something to send. You just send it.

You poll to see when the transmitter is ready for the next byte!

Then... Can you have interrupt driven transmit with only a one byte buffer?

Sure - but it probably largely defeats the object!


List of 46 messages in thread
TopicAuthorDate
Feedback needed            01/01/70 00:00      
   Couple of ideas            01/01/70 00:00      
   Missing            01/01/70 00:00      
      the source...            01/01/70 00:00      
         Stupid EIA            01/01/70 00:00      
      Maybe a Name change?            01/01/70 00:00      
         minor but annoying ...            01/01/70 00:00      
   USB            01/01/70 00:00      
      Limited Experience            01/01/70 00:00      
      known bad USB/serial            01/01/70 00:00      
      FYI - Targus PA088            01/01/70 00:00      
   thoughts            01/01/70 00:00      
      I am so stupid            01/01/70 00:00      
         Kickstart            01/01/70 00:00      
   attribution            01/01/70 00:00      
   The ONE thing I always have to look up a            01/01/70 00:00      
   Ok - Second revision, but still working,            01/01/70 00:00      
      Nice            01/01/70 00:00      
         OK            01/01/70 00:00      
         MAX202 vs. MAX232A            01/01/70 00:00      
         or the 232A            01/01/70 00:00      
      Polled; Interrupt            01/01/70 00:00      
         polled tx            01/01/70 00:00      
            Assorted small ideas            01/01/70 00:00      
               Not a good idea            01/01/70 00:00      
                  Serial speeds?            01/01/70 00:00      
                     Enhanced specifications            01/01/70 00:00      
                        That's a strange spec            01/01/70 00:00      
      formal stuff            01/01/70 00:00      
         formal            01/01/70 00:00      
            who's the intended audience            01/01/70 00:00      
   3rd Revision            01/01/70 00:00      
      Busy?            01/01/70 00:00      
         more than a couple of comments...            01/01/70 00:00      
            So.....            01/01/70 00:00      
               what I like or not...            01/01/70 00:00      
                  comments            01/01/70 00:00      
                     Comments on Comments            01/01/70 00:00      
                        bah...            01/01/70 00:00      
                           more problems            01/01/70 00:00      
                              RE: Problems            01/01/70 00:00      
                              Something Strange            01/01/70 00:00      
                                 Nope....            01/01/70 00:00      
                                    interrupt            01/01/70 00:00      
   All members will enjoy            01/01/70 00:00      
   Intel serial intro app note            01/01/70 00:00      

Back to Subject List