|
@@ -18,11 +18,11 @@ The *modbus_rtu_set_rts()* function shall set the Request To Send mode to
|
|
|
communicate on a RS485 serial bus. By default, the mode is set to
|
|
|
`MODBUS_RTU_RTS_NONE` and no signal is issued before writing data on the wire.
|
|
|
|
|
|
-To enable the RTS mode, the values `MODBUS_RTU_RTS_UP` or `MODBUS_RTU_RTS_DOWN` must
|
|
|
-be used, these modes enable the RTS mode and set the polarity at the same
|
|
|
+To enable the RTS mode, the values `MODBUS_RTU_RTS_UP` or `MODBUS_RTU_RTS_DOWN`
|
|
|
+must be used, these modes enable the RTS mode and set the polarity at the same
|
|
|
time. When `MODBUS_RTU_RTS_UP` is used, an ioctl call is made with RTS flag
|
|
|
-enabled then data is written on the bus after a delay of 1ms, then another ioctl
|
|
|
-call is made with the RTS flag disabled and again a delay of 1ms occurs.
|
|
|
+enabled then data is written on the bus after a delay of 1 ms, then another
|
|
|
+ioctl call is made with the RTS flag disabled and again a delay of 1 ms occurs.
|
|
|
The `MODBUS_RTU_RTS_DOWN` mode applies the same procedure but with an inversed
|
|
|
RTS flag.
|
|
|
|