??? 04/16/08 09:37 Read: times |
#153446 - Polled transmission Responding to: ???'s previous message |
and also contains a bit of discussion about why it sometimes does make sense to mix interrupt-driven reception with polled transmission.
Off the top of my head, I could think of two cases: 1. An application that only occasionally transmits, and only single bytes. In this case, it would be unlikely that the application has to wait for the UART to be ready to transmit, but it might want to poll "just in case". 2. An application that has to transmit long data packets and doesn't need to do anything else (except for servicing interrupts) while doing so. |
Topic | Author | Date |
Interrupt-driven Rx, polled Tx | 01/01/70 00:00 | |
this is why we have the FAQs... | 01/01/70 00:00 | |
Maybe I'm crazy | 01/01/70 00:00 | |
if you do that | 01/01/70 00:00 | |
Polled transmission | 01/01/70 00:00 | |
Mixing modes on UART | 01/01/70 00:00 | |
Here's why I asked | 01/01/70 00:00 | |
the risks of doing things the "wrong way" | 01/01/70 00:00 | |
the old nugget | 01/01/70 00:00 | |
Cool idea | 01/01/70 00:00 | |
size | 01/01/70 00:00 | |
Is the \"wrong way\" risky, or just stupid? | 01/01/70 00:00 | |
explanation | 01/01/70 00:00 | |
Thanks. I understand now what you are saying | 01/01/70 00:00 |