[En-Nut-Discussion] Re: non-blocking fgetc

Axel lenlen at zoellich.de
Thu Jun 1 13:56:51 CEST 2006


Hi Don!

> At present the thread blocks on the fgetc() call until a char is present
> in the stream.

For USARTs there is an ioctl parameter UART_SETREADTIMEOUT. Maybe you can
use this as an entry point. It uses NutEventWait.

Axel




More information about the En-Nut-Discussion mailing list