[En-Nut-Discussion] getch for Ethernut

Joerg.Lamprecht at kendro.spx.com Joerg.Lamprecht at kendro.spx.com
Tue May 18 10:28:24 CEST 2004


Hello,

I looking for an euquivalent for the C std. func. getch.
So I need that because fgetc and all the other i/o get hung when waiting 
for a char.
Is there any possibiltiy to set a timeout for fgetc. I tried the UART I/O 
Control Function _ioctl with the Command
Code UART_SETREADTIMEOUT to 100 ms, but my Thread doesnt interrupt. 

Greetings from Jörg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20040518/7c3bbe4a/attachment-0001.html>


More information about the En-Nut-Discussion mailing list