source: buchla-68k/include/uartio.h@ 0170798

Last change on this file since 0170798 was f7428b1, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Started to rework include files.

  • Property mode set to 100644
File size: 979 bytes
RevLine 
[f40a309]1/*
2 =============================================================================
3 uartio.h -- Buchla 700 UART I/O definitions
4 Version 3 -- 1989-07-18 -- D.N. Lynx Crowe
5 =============================================================================
6*/
7
[f7428b1]8#pragma once
9
[f40a309]10#define PRT_DEV 0
11#define AUX_DEV 1
12#define CON_DEV 2
13#define MC1_DEV 3
14#define MC2_DEV 4
15
16#define BR_300 0x04
17#define BR_600 0x05
18#define BR_1200 0x06
19#define BR_1800 0x07
20#define BR_2400 0x08
21#define BR_3600 0x09
22#define BR_4800 0x0A
23#define BR_7200 0x0B
24#define BR_9600 0x0C
25#define BR_19K2 0x0D
26#define BR_EXT 0x0F
27
28#define NSB_1 0x40
29#define NSB_2 0x60
30
31#define NDB_5 0x80
32#define NDB_6 0xA0
33#define NDB_7 0xC0
34#define NDB_8 0xE0
35
36#define P_NONE 0x00
37#define P_ODD 0x04
38#define P_EVEN 0x0C
39#define P_MARK 0x14
40#define P_SPACE 0x1C
41
42#define U_RTS 0x01
43#define U_DTR 0x02
44
45#define U_PAR 0x01
46#define U_BRK 0x02
47
48#define L_NUL 0x00
49#define L_XON 0x01
50#define L_RTS 0x02
Note: See TracBrowser for help on using the repository browser.