<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2096" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=265040109-18052004><FONT face=Arial color=#0000ff size=2>Hmm.
Strange.. Exactly that's what I'm doing and it is working
great.</FONT></SPAN></DIV>
<DIV><SPAN class=265040109-18052004><FONT face=Arial color=#0000ff size=2>Maybe
you should post some snippet of your uart-initialization code, so we can spot a
possible bug?</FONT></SPAN></DIV>
<DIV><SPAN class=265040109-18052004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=265040109-18052004><FONT face=Arial color=#0000ff
size=2>Greetings</FONT></SPAN></DIV>
<DIV><SPAN class=265040109-18052004><FONT face=Arial color=#0000ff
size=2>/Marc</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
en-nut-discussion-bounces@egnite.de
[mailto:en-nut-discussion-bounces@egnite.de] <B>On Behalf Of
</B>Joerg.Lamprecht@kendro.spx.com<BR><B>Sent:</B> Tuesday, May 18, 2004 10:28
AM<BR><B>To:</B> en-nut-discussion@egnite.de<BR><B>Subject:</B>
[En-Nut-Discussion] getch for Ethernut<BR><BR></FONT></DIV><BR><FONT
face=sans-serif size=2>Hello,</FONT> <BR><BR><FONT face=sans-serif size=2>I
looking for an euquivalent for the C std. func. getch.</FONT> <BR><FONT
face=sans-serif size=2>So I need that because fgetc and all the other i/o get
hung when waiting for a char.</FONT> <BR><FONT face=sans-serif size=2>Is there
any possibiltiy to set a timeout for fgetc. I tried the UART I/O Control
Function _ioctl with the Command</FONT> <BR><FONT face=sans-serif size=2>Code
UART_SETREADTIMEOUT to 100 ms, but my Thread doesnt interrupt.
</FONT><BR><BR><FONT face=sans-serif size=2>Greetings from
Jörg</FONT></BLOCKQUOTE></BODY></HTML>