Last change
on this file since eee74cd was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
1013 bytes
|
Line | |
---|
1 | /*
|
---|
2 | =============================================================================
|
---|
3 | uartio.h -- Buchla 700 UART I/O definitions
|
---|
4 | Version 3 -- 1989-07-18 -- D.N. Lynx Crowe
|
---|
5 | =============================================================================
|
---|
6 | */
|
---|
7 |
|
---|
8 | #define PRT_DEV 0
|
---|
9 | #define AUX_DEV 1
|
---|
10 | #define CON_DEV 2
|
---|
11 | #define MC1_DEV 3
|
---|
12 | #define MC2_DEV 4
|
---|
13 |
|
---|
14 | #define BR_300 0x04
|
---|
15 | #define BR_600 0x05
|
---|
16 | #define BR_1200 0x06
|
---|
17 | #define BR_1800 0x07
|
---|
18 | #define BR_2400 0x08
|
---|
19 | #define BR_3600 0x09
|
---|
20 | #define BR_4800 0x0A
|
---|
21 | #define BR_7200 0x0B
|
---|
22 | #define BR_9600 0x0C
|
---|
23 | #define BR_19K2 0x0D
|
---|
24 | #define BR_EXT 0x0F
|
---|
25 |
|
---|
26 | #define NSB_1 0x40
|
---|
27 | #define NSB_2 0x60
|
---|
28 |
|
---|
29 | #define NDB_5 0x80
|
---|
30 | #define NDB_6 0xA0
|
---|
31 | #define NDB_7 0xC0
|
---|
32 | #define NDB_8 0xE0
|
---|
33 |
|
---|
34 | #define P_NONE 0x00
|
---|
35 | #define P_ODD 0x04
|
---|
36 | #define P_EVEN 0x0C
|
---|
37 | #define P_MARK 0x14
|
---|
38 | #define P_SPACE 0x1C
|
---|
39 |
|
---|
40 | #define U_RTS 0x01
|
---|
41 | #define U_DTR 0x02
|
---|
42 |
|
---|
43 | #define U_PAR 0x01
|
---|
44 | #define U_BRK 0x02
|
---|
45 |
|
---|
46 | #define L_NUL 0x00
|
---|
47 | #define L_XON 0x01
|
---|
48 | #define L_RTS 0x02
|
---|
Note:
See
TracBrowser
for help on using the repository browser.