[En-Nut-Discussion] Reboot, when receiving Data with gets() over RS232

Thiago A. Corrêa thiago.correa at gmail.com
Fri Oct 21 18:56:43 CEST 2005


What´s the difference on devUsartAvr0 and devUsart0?

I have it like this:
    NutRegisterDevice(&devUart0, 0, 0);
    NutRegisterDevice(&devUart1, 0, 0);

and had a similar problem doing an fopen with "rw+b" on it.


On 10/21/05, Harald Kipp <harald.kipp at egnite.de> wrote:
>
> >     NutRegisterDevice(&devDebug0, 0, 0);
> >         NutRegisterDevice(&devUsartAvr0, 0, 0);
>
> You can register only one driver with the name 'uart0'.
> As devDebug is write-only, you probably want devUsartAvr0.
>
> Harald
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>



More information about the En-Nut-Discussion mailing list