15 #define MLA 0x20 // 0x20 - 0x3e
17 #define MTA 0x40 // 0x40 - 0x5e
19 #define MSA 0x60 // 0x60 - 0x7e
22 /* GPIB end of string */
24 /* these depend on wiring !! */
25 #define EOI 0x80 /* LPT 8th data bit */
26 #define ATN 0x08 /* LPT pin 17 */
29 void lptgpib_print_command(unsigned char val);
30 void lptgpib_init(int base);
32 char lptgpib_read_byte(char *_flags);
33 void lptgpib_write_byte(char value, char flags);
35 int lptgpib_read_data(char *dest, int size);
36 void lptgpib_write_data(char *src, int size);
38 void lptgpib_command(char value);
40 int lptgpib_read(int address, char *dest, int size);
41 void lptgpib_write(int address, char *src);