1 /* 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Sony Corp. and Kazumasa Utashiro of Software Research Associates, Inc. 7 * 8 * %sccs.include.redist.c% 9 * 10 * from: $Hdr: sccparam.h,v 4.300 91/06/09 06:44:57 root Rel41 $ SONY 11 * 12 * @(#)sccparam.h 8.1 (Berkeley) 06/11/93 13 */ 14 15 /* 16 * SCC channel parameter 17 */ 18 19 #define BAUD_RATE 0x0000000f 20 #define RXE 0x00000010 21 #define TXE 0x00000020 22 #define CHAR_SIZE 0x000000c0 23 #define C5BIT 0x00000000 24 #define C7BIT 0x00000040 25 #define C6BIT 0x00000080 26 #define C8BIT 0x000000c0 27 #define PARITY 0x00000100 28 #define EVEN 0x00000200 29 #define ODD 0x00000000 30 #define STOPBIT 0x00000c00 31 #define STOP1 0x00000400 32 #define STOP1_5 0x00000800 33 #define STOP2 0x00000c00 34 #define RTS 0x00001000 35 #define DTR 0x00002000 36 #define XBREAK 0x00004000 37 #define NOCHECK 0x00008000 38 39 #define DCD 0x00010000 40 #define CTS 0x00020000 41 #define RI 0x00040000 42 #define DSR 0x00080000 43 #define RBREAK 0x00100000 44 #define SCC_PARITY_ERROR 0x00200000 45 #define OVERRUN_ERROR 0x00400000 46 #define FRAMING_ERROR 0x00800000 47 48 #define AUTO_ENABLE 0x01000000 49 #define EXTCLK_ENABLE 0x02000000 50 51 #define TERM_MODE 0x70000000 52 #define CJIS 0x10000000 53 #define CSJIS 0x20000000 54 #define CEUC 0x40000000 55