At 09:11 PM 2/25/05 +0000, peterburdine wrote:
>I just wish they gave you a way to know how many bytes are in the FIFO
>(at least the tx fifo). In my drivers I just keep track of how many I
>put in, and they when I get THRE I reset the count to zero.
Why? If you are doing a polled transmission I could see the use for a FIFO
full flag but for interrupt driven you can stuff the FIFO faster than you
can remove a byte from it at most baud rates. Even for polled transmission
I don't see much loss of efficiency (if there were you could easily switch
to interrupt driven). I don't see any use for a FIFO count and I've not
seen a UART with a FIFO that has one.
Robert
" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "
Kelvin Throop, IIIMessage
Re: [lpc2000] Re: UART TX FIFO SIZE
2005-02-25 by Robert Adsett
Attachments
- No local attachments were found for this message.