RS485: RTS pin logical level before/after sending

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What's the purpose of being able to define both states? AFAIK
omap_serial.c is working as follows:

        if (of_property_read_bool(np, "rs485-rts-active-high"))
                rs485conf->flags |= SER_RS485_RTS_ON_SEND;
        else
                rs485conf->flags |= SER_RS485_RTS_AFTER_SEND;

If RTS should be on before send, then it automatically selects RTS off
for after send scenario. Are there systems, that would really set
levels for both cases to the same value? Is this intended for RS422
case, where transmitter can be always on?

Regards,
Yegor
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux