rs485.h 436 字节
Newer Older
L
Linus Torvalds 已提交
1 2
/* RS-485 structures */

3 4 5
/* Used with ioctl() TIOCSERSETRS485 for backward compatibility!
 * XXX: Do not use it for new code!
 */
L
Linus Torvalds 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18
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;
};