1: struct lpdevice
2: {
3: short lpcs;
4: short lpdb;
5: };
6:
7: struct lxdevice
8: {
9: short lxcs;
10: short lxdb;
11: };
12:
13: /* bits in lpcs */
14: #define LP_ERR 0100000 /* error */
15: /* bits 14-8 are unused */
16: #define LP_RDY 0000200 /* ready */
17: #define LP_IE 0000100 /* interrupt enable */
18: /* bits 5-0 are unused */
19:
20: /* bits in lxcs */
21: #define LX_ERR 0100000 /* error */
22: /* bits 14-8 are unused */
23: #define LX_RDY 0000200 /* ready */
24: #define LX_IE 0000100 /* interrupt enable */
25: /* bits 5-0 are unused */
26:
27: /* bits in lxdb */
28: /* bits 15-8 are unused */
29: #define LXDB_PI 0000200 /* paper instruction */
30: /* bits 6-0 are data */
Defined struct's
Defined macros
LP_IE
defined in line
17; used 3 times
LX_IE
defined in line
24;
never used
Usage of this include