Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


generic_serial.h
01: /*
02:  *  generic_serial.h
03:  *
04:  *  Copyright (C) 1998 R.E.Wolff@BitWizard.nl
05:  *
06:  *  written for the SX serial driver.
07:  *     Contains the code that should be shared over all the serial drivers.
08:  *
09:  *  Version 0.1 -- December, 1998.
10:  */
11: 
12: #ifndef GENERIC_SERIAL_H
13: #define GENERIC_SERIAL_H
14: 
15: 
16: /* Flags */
17: /* Warning: serial.h defines some ASYNC_ flags, they say they are "only"
18:    used in serial.c, but they are also used in all other serial drivers. 
19:    Make sure they don't clash with these here... */
20: #define GS_TX_INTEN      0x00800000
21: #define GS_RX_INTEN      0x00400000
22: #define GS_ACTIVE        0x00200000
23: 
24: 
25: 
26: #define GS_TYPE_NORMAL   1
27: 
28: #define GS_DEBUG_FLUSH   0x00000001
29: #define GS_DEBUG_BTR     0x00000002
30: #define GS_DEBUG_TERMIOS 0x00000004
31: #define GS_DEBUG_STUFF   0x00000008
32: #define GS_DEBUG_CLOSE   0x00000010
33: #define GS_DEBUG_FLOW    0x00000020
34: #define GS_DEBUG_WRITE   0x00000040
35: 
36: #endif
37: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/