[En-Nut-Discussion] UART-Polling

Martin Walda Martin.Walda at SMA.DE
Mon May 18 16:52:26 CEST 2009


Hello,

I use an Ethernut 2.1 Rev B Board with an ATMega 128 controller.

My question is, how can I poll data from the uart interface? I have tried fread, fgets and _read. All these functions seems to wait for incomming character's. I am searching for a non blocking function.

Thank you very much

Martin




______________________________________________________________________________

SMA Solar Technology AG
Aufsichtsrat: Dr. Erik Ehrentraut (Vorsitzender)
Vorstand: Guenther Cramer, Peter Drews, Pierre-Pascal Urbon, Reiner Wettlaufer
Handelsregister: Amtsgericht Kassel HRB 3972
Sitz der Gesellschaft: 34266 Niestetal
USt-ID-Nr. DE 113 08 59 54
WEEE-Reg.-Nr. DE 95881150
______________________________________________________________________________



More information about the En-Nut-Discussion mailing list