modbus_rtu_get_rts_delay.txt 865 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. modbus_rtu_get_rts_delay(3)
  2. ===========================
  3. NAME
  4. ----
  5. modbus_rtu_get_rts_delay - get the current RTS delay in RTU
  6. SYNOPSIS
  7. --------
  8. *int modbus_rtu_get_rts_delay(modbus_t *'ctx');*
  9. DESCRIPTION
  10. -----------
  11. The _modbus_rtu_get_rts_delay()_ function shall get the current Request To Send
  12. delay period of the libmodbus context 'ctx'.
  13. This function can only be used with a context using a RTU backend.
  14. RETURN VALUE
  15. ------------
  16. The _modbus_rtu_get_rts_delay()_ function shall return the current RTS delay in
  17. microseconds if successful. Otherwise it shall return -1 and set errno.
  18. ERRORS
  19. ------
  20. *EINVAL*::
  21. The libmodbus backend is not RTU.
  22. SEE ALSO
  23. --------
  24. linkmb:modbus_rtu_set_rts_delay[3]
  25. AUTHORS
  26. -------
  27. Jimmy Bergström <jimmy@ekontroll.com>
  28. The libmodbus documentation was written by Stéphane Raimbault
  29. <stephane.raimbault@gmail.com>