|
|
1.1 root 1: #ifndef FAST_DOT_H
2: #define FAST_DOT_H
3:
4: /*
5: * FAST.H 5.20A June 8, 1995
6: *
7: * The Greenleaf Comm Library
8: *
9: * Copyright (C) 1984-1995 Greenleaf Software Inc. All Rights Reserved.
10: *
11: * NOTES
12: *
13: * This file contains the prototypes and structure definitions needed to
14: * use some of the FAST driver stuff.
15: *
16: * MODIFICATIONS
17: *
18: * December 12, 1992 4.00A : Initial release
19: *
20: */
21:
22: #include "commlib.h"
23:
24: #define MAX_DEFINED_FAST_PORTS 8
25:
26: #ifdef __cplusplus
27: extern "C" {
28: #endif
29:
30: int GF_CONV FastSetPortHardware( int port, int irq, int address );
31: int GF_CONV FastGetPortHardware( int port, int *irq, int *address );
32: int GF_CONV FastSet16550TriggerLevel( TRIGGER_LEVEL level );
33: void GF_CONV FastSet16550UseTXFifos( int control );
34:
35: int GF_CONV FastSavePortParameters( int port );
36: int GF_CONV FastRestorePortParameters( int port );
37: int GF_CONV FastGetSavedPortParameters( int port,
38: long *baud_rate,
39: char *parity,
40: int *word_length,
41: int *stop_bits,
42: int *dtr,
43: int *rts,
44: int *trigger_level );
45: int GF_CONV FastSetSavedPortParameters( int port,
46: long baud_rate,
47: char parity,
48: int word_length,
49: int stop_bits,
50: int dtr,
51: int rts,
52: int trigger_level );
53:
54: void GF_CONV EnableHP95LXPort( void );
55: void GF_CONV DisableHP95LXPort( void );
56: int GF_CONV IsHP95LX( void );
57: int GF_CONV ModifyFastBlockRoutine( PORT *port );
58:
59: #ifdef __cplusplus
60: }
61: #endif
62:
63: #endif /* #ifndef FAST_DOT_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.