[En-Nut-Discussion] UART-Polling
Muhammad Yasir
yasir9909 at gmail.com
Mon May 18 17:15:20 CEST 2009
Why dont you better try for interrupts.As far as i know all such
polling functions are blocking functions
regards
m.yasir
On 18/05/2009, Martin Walda <Martin.Walda at sma.de> wrote:
> 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
> ______________________________________________________________________________
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
--
regards
m.yasir
More information about the En-Nut-Discussion
mailing list