[U-Boot-Users] what is the purpose of "serial_tstc()"?

Frank frannk_m1 at yahoo.com
Wed Apr 27 16:56:49 CEST 2005


It returns a true if there is a char in the serial input buffer.
I usually use it when I'm in an inifinit loop and want to break
out if some hits the keyboard. Similar to "?key" in Forth.:-)

--- wnlee1109 at gmail.com wrote:
> 
> Hello, u-boot community,
> 
> When I wrote the hardware dependent parts of serial functions,
> 
> I cannot understand what should I write for "serial_tstc()".
> 
> What is the purpose of "serial_tstc()"?
> Does anyone know?
> 
> Thanks
> Wayne
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software
> development plans!
> Take this survey and enter to win a one-year sub to
> SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start! 
> http://www.idcswdc.com/cgi-bin/survey?id=105hix
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the U-Boot mailing list