#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 |
| int | in_port |
| int | InputQueueSize |
| unsigned char | intnum |
| int | lasterr |
| MIUNICODE * | message |
| unsigned short | mode |
| MIUNICODE * | name |
| int | NoWait |
| void(* | oldintfunc )() |
| unsigned char | out_mask |
| int | out_port |
| int | OutputQueueSize |
| int | secondary_in |
| int | secondary_out |
| UINT8 | state |
| unsigned short | status |
| FILE * | stream |
| MPORTTYPE * | type |
| int | unit_num |
| short | word_dma |
|
|
base address of port
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data waiting because dev was busy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
module specific data
|
|
|
|
|
|
Mask to apply after reading data.
|
|
|
port for reading
|
|
|
Size used when port was opened (currently only used by COM ports).
|
|
|
|
|
|
|
|
|
Last error message.
|
|
|
See below.
|
|
|
|
|
|
When reading, don't keep trying if there's nothing to read.
|
|
|
|
|
|
Mask to apply before writing data.
|
|
|
port for sending
|
|
|
Size used when port was opened (currently only used by COM ports).
|
|
|
|
|
|
|
|
|
|
|
|
see below
|
|
|
For fopen/popen'd files.
|
|
|
|
|
|
1 = LPT1... etc...
|
|
|
|
1.3.8-20040913