This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
polled serial
- To: "eCos Disuss" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] polled serial
- From: "Andy Simpkins" <Andy dot Simpkins at TardisMobile dot com>
- Date: Fri, 1 Jun 2001 12:33:23 +0100
- Reply-To: Andy dot Simpkins at TardisMobile dot com
Hi there,
Assuming that I have understood things properly, cyg_io_read is a blocking
function, i.e. once called it will only return when characters have been
received from the serial port. Is there another function available to
either return the amount of data currently held in the receive buffer (the
eCos serial buffer NOT that of the UART) or a non blocking read function
(i.e. returns NULL if there is nothing currently in the serial buffer)?
Kind regards
Andy
---
Transcomm UK Ltd. DDI : +44 (0)23 80662155
Yeoman Park Fax : +44 (0)23 80662120
Test Lane
Southampton www.transcomm.uk.com
SO16 9JX