??? 12/09/05 22:05 Read: times |
#105014 - the first interrupt you need to use is t Responding to: ???'s previous message |
the first interrupt you need to use is the UART. (that is if you use it).
Polled UART processing is, at best, slowing down processing and, at worst defective. Make a "ring buffer" with a length of some power of 2 (it makes things easier, you'll see later) I would suggest 8 or 16. then 2 pointers, I call them "store" and "fetch" After proper initialization you will know that when fetch and store are identical, there are no characters received that have not been processed, For refernce search on ring buffer Erik |
Topic | Author | Date |
interrupt questions | 01/01/70 00:00 | |
the first interrupt you need to use is t | 01/01/70 00:00 | |
interrupt examples | 01/01/70 00:00 | |
C or ASM | 01/01/70 00:00 | |
I don't think it does! | 01/01/70 00:00 | |
Two questions in one | 01/01/70 00:00 | |
flexible or efficient | 01/01/70 00:00 | |
It's all relative.![]() | 01/01/70 00:00 |