1
0
Fork 0
alistair23-linux/arch/cris/include/uapi/asm/rs485.h

20 lines
499 B
C

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/* RS-485 structures */
/* Used with ioctl() TIOCSERSETRS485 for backward compatibility!
* XXX: Do not use it for new code!
*/
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;
};