Messages in this thread Patch in this message | | | From | Martin Kepplinger <> | Subject | [PATCH 2/9] Documentation: serial-rs485: document SER_RS485_DELAY_IN_USEC flag | Date | Wed, 20 Feb 2019 16:27:24 +0100 |
| |
Document the new RS485 flag, SER_RS485_DELAY_IN_USEC that specifies that the rts delay values stored in struct serial_rs485 hold values in microseconds instead of milliseconds (the default).
Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com> --- Documentation/serial/serial-rs485.txt | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/Documentation/serial/serial-rs485.txt b/Documentation/serial/serial-rs485.txt index ce0c1a9b8aab..a1e15e9efc2e 100644 --- a/Documentation/serial/serial-rs485.txt +++ b/Documentation/serial/serial-rs485.txt @@ -75,6 +75,9 @@ /* Set rts delay after send, if needed: */ rs485conf.delay_rts_after_send = ...; + /* Specify the rts delay to be microseconds, not milliseconds */ + rs485conf.flags |= SER_RS485_DELAY_IN_USEC; + /* Set this flag if you want to receive data even while sending data */ rs485conf.flags |= SER_RS485_RX_DURING_TX; -- 2.20.1 [unhandled content-type:application/x-pkcs7-signature] | |