<div dir="ltr"><div><div><div><div>Hi,<br></div>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"?<br>
<br></div>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?<br>
<br></div>Thanks<br></div>Manish<br></div>