From: Frank Date: Wed, 27 Apr 2005 07:56:49 -0700 (PDT) Subject: [U-Boot-Users] what is the purpose of "serial_tstc()"? In-Reply-To: 6667 Message-ID: <20050427145649.71847.qmail@web32205.mail.mud.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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