2005-04-16 16:20:36 -06:00
|
|
|
/* RS-485 structures */
|
|
|
|
|
2009-04-07 09:48:19 -06:00
|
|
|
/* Used with ioctl() TIOCSERSETRS485 for backward compatibility!
|
|
|
|
* XXX: Do not use it for new code!
|
|
|
|
*/
|
2005-04-16 16:20:36 -06:00
|
|
|
struct rs485_control {
|
|
|
|
unsigned short rts_on_send;
|
|
|
|
unsigned short rts_after_sent;
|
|
|
|
unsigned long delay_rts_before_send;
|
|
|
|
unsigned short enabled;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Used with ioctl() TIOCSERWRRS485 */
|
|
|
|
struct rs485_write {
|
|
|
|
unsigned short outc_size;
|
|
|
|
unsigned char *outc;
|
|
|
|
};
|
|
|
|
|