You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
454 B
21 lines
454 B
20 years ago
|
/* RS-485 structures */
|
||
|
|
||
|
/* RS-485 support */
|
||
|
/* Used with ioctl() TIOCSERSETRS485 */
|
||
|
struct rs485_control {
|
||
|
unsigned short rts_on_send;
|
||
|
unsigned short rts_after_sent;
|
||
|
unsigned long delay_rts_before_send;
|
||
|
unsigned short enabled;
|
||
|
#ifdef __KERNEL__
|
||
|
int disable_serial_loopback;
|
||
|
#endif
|
||
|
};
|
||
|
|
||
|
/* Used with ioctl() TIOCSERWRRS485 */
|
||
|
struct rs485_write {
|
||
|
unsigned short outc_size;
|
||
|
unsigned char *outc;
|
||
|
};
|
||
|
|