rs485.h 436 B

12345678910111213141516171819
  1. /* RS-485 structures */
  2. /* Used with ioctl() TIOCSERSETRS485 for backward compatibility!
  3. * XXX: Do not use it for new code!
  4. */
  5. struct rs485_control {
  6. unsigned short rts_on_send;
  7. unsigned short rts_after_sent;
  8. unsigned long delay_rts_before_send;
  9. unsigned short enabled;
  10. };
  11. /* Used with ioctl() TIOCSERWRRS485 */
  12. struct rs485_write {
  13. unsigned short outc_size;
  14. unsigned char *outc;
  15. };