#include <mi32/ports.h>
Public Attributes | |
| int | addr |
| short | bogus1 |
| unsigned char * | buf [2] |
| int | bufleft |
| int | buflen |
| unsigned char * | bufp |
| const unsigned char * | busy_data |
| int | busy_len |
| UINT8 | channel_num |
| PortChannel | channels [MAXPORTCHANNEL+1] |
| PortChannel * | cp |
| int | curbuf |
| int | curpos |
| void * | data |
| unsigned char | dmanum |
| unsigned char | in_mask |
| PTRINT | in_port |
| int | InputQueueSize |
| unsigned char | intnum |
| int | lasterr |
| MIUNICODE * | message |
| unsigned short | mode |
| MIUNICODE * | name |
| int | NoWait |
| void(* | oldintfunc )() |
| unsigned char | out_mask |
| PTRINT | out_port |
| int | OutputQueueSize |
| PTRINT | secondary_in |
| PTRINT | secondary_out |
| UINT8 | state |
| unsigned short | status |
| FILE * | stream |
| const MPORTTYPE * | type |
| int | unit_num |
| short | word_dma |
| int MPORT::addr |
base address of port
| short MPORT::bogus1 |
| unsigned char* MPORT::buf[2] |
| int MPORT::bufleft |
| int MPORT::buflen |
| unsigned char * MPORT::bufp |
| const unsigned char* MPORT::busy_data |
data waiting because dev was busy
| int MPORT::busy_len |
| PortChannel MPORT::channels[MAXPORTCHANNEL+1] |
| int MPORT::curbuf |
| int MPORT::curpos |
| void* MPORT::data |
module specific data
| unsigned char MPORT::dmanum |
| unsigned char MPORT::in_mask |
Mask to apply after reading data.
port for reading
Size used when port was opened (currently only used by COM ports).
| unsigned char MPORT::intnum |
| int MPORT::lasterr |
Last error message.
| unsigned short MPORT::mode |
See below.
| int MPORT::NoWait |
When reading, don't keep trying if there's nothing to read.
| void(* MPORT::oldintfunc)() |
| unsigned char MPORT::out_mask |
Mask to apply before writing data.
port for sending
Size used when port was opened (currently only used by COM ports).
| unsigned short MPORT::status |
see below
| FILE* MPORT::stream |
For fopen/popen'd files.
| const MPORTTYPE* MPORT::type |
| int MPORT::unit_num |
1 = LPT1... etc...
| short MPORT::word_dma |
1.6.1