/* Copyright (C) Magna Carta Software, Inc. 1990-1991. All Rights Reserved. C COMMUNICATIONS TOOLKIT DIGIXI1.H -- C Communications Toolkit header file for DigiBoard COM/Xi boards. This header defines the functions that interface the DigiBoard-supplied M232 procedures to CCT. */ typedef struct { WORD base_addr; /* base memory address (segment) of dual port RAM */ WORD port_addr; /* I/O port address for this ACL board */ } COMXI; #define DIGIBOARD_COMXI 5 short comxi_get(COMM_PORT *p, short cmd); short comxi_get_rx_xlat(COMM_PORT *p, short item); short comxi_get_tx_xlat(COMM_PORT *p, short item); short comxi_init(COMXI *c, WORD port, WORD seg, WORD size); short comxi_init_channel(COMM_PORT *p, COMXI *c, WORD portnum, long speed, WORD databits, WORD parity, WORD stopbits); short comxi_read(COMM_PORT *p); short comxi_ret(void); short comxi_set(COMM_PORT *p, short cmd, short value); short comxi_set_databits(COMM_PORT *p, short value); short comxi_set_dtr(COMM_PORT *p, short value); short comxi_set_flowctl(COMM_PORT *p, short flowtype, short state); short comxi_set_parity(COMM_PORT *p, short value); short comxi_set_rts(COMM_PORT *p, short value); short comxi_set_rx_xlat(COMM_PORT *p, short item, short value); short comxi_set_speed(COMM_PORT *p, long value); short comxi_set_stopbits(COMM_PORT *p, short value); short comxi_set_tx_xlat(COMM_PORT *p, short item, short value); short comxi_txstat(COMM_PORT *p); void comxi_write(COMM_PORT *p, short ch); short comxi_xlat_baud(long value);