This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Serial Port in non-blocking mode


I'm trying to make my AT91EB55 board communicate with a PC, when using the cyg_io_read function the program waits for an input wich is not what i want. In non blocking mode I keep on getting 0x0's when reading the port even if I have sended some characters.
Is there a way of reading the serial port and getting what's in the buffer without blocking the program if it's empty ?
Thanks




--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]