• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* RS-485 structures */
2 
3 /* RS-485 support */
4 /* Used with ioctl() TIOCSERSETRS485 */
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 #ifdef __KERNEL__
11         int disable_serial_loopback;
12 #endif
13 };
14 
15 /* Used with ioctl() TIOCSERWRRS485 */
16 struct rs485_write {
17         unsigned short outc_size;
18         unsigned char *outc;
19 };
20 
21