[En-Nut-Discussion] Ethernut3.1 RS232 DTR pin

Thiago A. Corrêa thiago.correa at gmail.com
Thu Dec 17 14:53:26 CET 2009


Hi Paul,

    I'm looking at the at91 usart driver as well. Looks like the only
implementation that handles the DTR is this:

#if USE_BUILT_IN_MODEM_CONTROL
    /* Built-in hardware. */
    if (flags & UART_DTRDISABLED) {
        outr(USARTn_BASE + US_CR_OFF, US_DTRDIS);
    }
    if (flags & UART_DTRENABLED) {
        outr(USARTn_BASE + US_CR_OFF, US_DTREN);
    }
#endif

   And it depends on the USE_BUILT_IN_MODEM_CONTROL which I couldn't
find where is defined yet.

Kind Regards,
   Thiago A. Correa



More information about the En-Nut-Discussion mailing list