Skip to contentSkip to conversation

what is the purpose of "serial_tstc()"?

U-Boot-Users Frank 1 participant 1 message Apr 27, 2005

lore
Share & tools
lore

Frank

author
#0 lore raw

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.:-)

Quoted 16 lines · --- 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

Quoted 13 lines

-------------------------------------------------------
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