* [U-Boot-Users] what is the purpose of "serial_tstc()"?
@ 2005-04-27 13:07 wnlee1109 at gmail.com
0 siblings, 0 replies; 2+ messages in thread
From: wnlee1109 at gmail.com @ 2005-04-27 13:07 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] what is the purpose of "serial_tstc()"?
@ 2005-04-27 14:56 Frank
0 siblings, 0 replies; 2+ messages in thread
From: Frank @ 2005-04-27 14:56 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-27 14:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-27 13:07 [U-Boot-Users] what is the purpose of "serial_tstc()"? wnlee1109 at gmail.com
-- strict thread matches above, loose matches on Subject: below --
2005-04-27 14:56 Frank
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox