18 #define SCI_IOCTL_PARITY_NONE 0x00 19 #define SCI_IOCTL_PARITY_ODD 0x01 20 #define SCI_IOCTL_PARITY_EVEN 0x02 21 #define SCI_IOCTL_PARITY_MARK 0x03 22 #define SCI_IOCTL_PARITY_SPACE 0x04 23 #define SCI_IOCTL_PARITY_FORCED_ON 0x03 24 #define SCI_IOCTL_PARITY_FORCED_OFF 0x04 26 #define SCI_IOCTL_BAUD_RATE 0x20 28 #define SCI_IOCTL_DATA_BITS 0x30 30 #define SCI_IOCTL_STOP_BITS_1 0x40 31 #define SCI_IOCTL_STOP_BITS_2 0x41 33 #define SCI_IOCTL_MODE_NORMAL 0x50 34 #define SCI_IOCTL_MODE_LOOP 0x51 36 #define SCI_IOCTL_FLOW_NONE 0x60 37 #define SCI_IOCTL_FLOW_RTS_CTS 0x61 39 #define SCI_IOCTL_SEND_BREAK 0x70 41 #define SCI_IOCTL_MODE_1200 0x80 42 #define SCI_IOCTL_MODE_9600 0x81 43 #define SCI_IOCTL_MODE_9_BIT 0x82 78 #define SCI_BAUD_57_6K 9 79 #define SCI_BAUD_38_4K 14 80 #define SCI_BAUD_19_2K 27 81 #define SCI_BAUD_9600 55 82 #define SCI_BAUD_4800 109 83 #define SCI_BAUD_2400 218 84 #define SCI_BAUD_1200 437 115 #define SCI_SEND_BREAK 0x0001 116 #define SCI_RCVR_WAKEUP 0x0002 117 #define SCI_ENABLE_RCVR 0x0004 118 #define SCI_ENABLE_XMTR 0x0008 120 #define SCI_DISABLE_RCVR 0xFFFB 121 #define SCI_DISABLE_XMTR 0xFFF7 123 #define SCI_ENABLE_INT_IDLE 0x0010 124 #define SCI_ENABLE_INT_RX 0x0020 125 #define SCI_ENABLE_INT_TX_DONE 0x0040 126 #define SCI_ENABLE_INT_TX 0x0080 128 #define SCI_DISABLE_INT_ALL 0xFF00 130 #define SCI_DISABLE_INT_RX 0xFFDF 131 #define SCI_CLEAR_RX_INT 0xFFBF 132 #define SCI_DISABLE_INT_TX 0xFF7F 133 #define SCI_CLEAR_TDRE 0xFEFF 135 #define SCI_RCVR_WAKE_ON_MARK 0x0100 136 #define SCI_9_DATA_BITS 0x0200 137 #define SCI_PARITY_ENABLE 0x0400 138 #define SCI_PARITY_ODD 0x0800 140 #define SCI_RCVR_WAKE_ON_IDLE 0xFEFF 141 #define SCI_8_DATA_BITS 0xFDFF 142 #define SCI_PARITY_DISABLE 0xFBFF 143 #define SCI_PARITY_EVEN 0xF7FF 145 #define SCI_PARITY_NONE 0xF3FF 147 #define SCI_IDLE_LINE_LONG 0x1000 148 #define SCI_TXD_OPEN_DRAIN 0x2000 149 #define SCI_LOOPBACK_MODE 0x4000 150 #define SCI_SCCR1_UNUSED 0x8000 181 #define SCI_ERROR_PARITY 0x0001 182 #define SCI_ERROR_FRAMING 0x0002 183 #define SCI_ERROR_NOISE 0x0004 184 #define SCI_ERROR_OVERRUN 0x0008 186 #define SCI_IDLE_LINE 0x0010 187 #define SCI_RCVR_ACTIVE 0x0020 188 #define SCI_RCVR_READY 0x0040 189 #define SCI_XMTR_IDLE 0x0080 191 #define SCI_CLEAR_RX_INT 0xFFBF 193 #define SCI_XMTR_READY 0x0100 195 #define SCI_CLEAR_TDRE 0xFEFF 197 #define SCI_XMTR_AVAILABLE 0x0180