APBUART Driver for Sparc
manish jain
manish8886 at gmail.com
Wed May 29 01:43:54 UTC 2013
Hi,
I was looking at the code of UART driver for sparc in
"/c/src/lib/libbsp/sparc/shared/uart/apbuart.c". I just want to know why in
the code member variable "tx_cnt" of apbuart_stats has not been changed.
Shouldn't it be modified when a "character" has been put in the "Hardware
Fifo" from the software "transmission Fifo buffer"?
Actually, in my code I need to know whether the Software Fifo buffer for
transmission has any space left or not. I was thinking I can do that by
knowing the "tx_cnt" after querying the status of the UART. Can somebody
tell other method by which I can accomplish this?
Thanks
Manish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130528/24cf24c7/attachment.html>
More information about the users
mailing list