[En-Nut-Discussion] Bug in half duplex mode
Harald Kipp
harald.kipp at egnite.de
Thu Aug 17 11:42:07 CEST 2006
The compile option (or Configurator settings) only includes the
required code for USART_MF_HALFDUPLEX. This way applications,
which don't need this special flow control are tinier and faster.
It is still required though to set USART_MF_HALFDUPLEX. If the
compile option doesn't support it, _ioctl() will return -1.
You're welcome.
At 11:29 17.08.2006 +0200, you wrote:
>I'm very new in Ethernut (yet), so I thing I miss something.
>If I compile ethernut with HDX bit setup, then in the app I still need
>tenable flow controll, like this, or it's not nessesary.
>
>foo = USART_MF_HALFDUPLEX;
>_ioctl(_fileno(uart), UART_SETFLOWCONTROL, &foo);
More information about the En-Nut-Discussion
mailing list