MPORT Struct Reference

#include <mi32/ports.h>

List of all members.

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]
PortChannelcp
int curbuf
int curpos
void * data
unsigned char dmanum
unsigned char in_mask
int in_port
int InputQueueSize
unsigned char intnum
int lasterr
MIUNICODEmessage
unsigned short mode
MIUNICODEname
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
MPORTTYPEtype
int unit_num
short word_dma


Member Data Documentation

int MPORT::addr
 

base address of port

Definition at line 220 of file ports.h.

short MPORT::bogus1
 

Definition at line 218 of file ports.h.

unsigned char* MPORT::buf[2]
 

Definition at line 239 of file ports.h.

int MPORT::bufleft
 

Definition at line 243 of file ports.h.

int MPORT::buflen
 

Definition at line 242 of file ports.h.

unsigned char * MPORT::bufp
 

Definition at line 239 of file ports.h.

const unsigned char* MPORT::busy_data
 

data waiting because dev was busy

Definition at line 240 of file ports.h.

int MPORT::busy_len
 

Definition at line 241 of file ports.h.

UINT8 MPORT::channel_num
 

Definition at line 230 of file ports.h.

PortChannel MPORT::channels[MAXPORTCHANNEL+1]
 

Definition at line 232 of file ports.h.

PortChannel* MPORT::cp
 

Definition at line 233 of file ports.h.

int MPORT::curbuf
 

Definition at line 245 of file ports.h.

int MPORT::curpos
 

Definition at line 244 of file ports.h.

void* MPORT::data
 

module specific data

Definition at line 219 of file ports.h.

unsigned char MPORT::dmanum
 

Definition at line 223 of file ports.h.

unsigned char MPORT::in_mask
 

Mask to apply after reading data.

Definition at line 248 of file ports.h.

int MPORT::in_port
 

port for reading

Definition at line 225 of file ports.h.

int MPORT::InputQueueSize
 

Size used when port was opened (currently only used by COM ports).

Definition at line 249 of file ports.h.

unsigned char MPORT::intnum
 

Definition at line 222 of file ports.h.

int MPORT::lasterr
 

Definition at line 246 of file ports.h.

MIUNICODE* MPORT::message
 

Last error message.

Definition at line 251 of file ports.h.

unsigned short MPORT::mode
 

See below.

Definition at line 217 of file ports.h.

MIUNICODE* MPORT::name
 

Definition at line 214 of file ports.h.

int MPORT::NoWait
 

When reading, don't keep trying if there's nothing to read.

Definition at line 252 of file ports.h.

void(* MPORT::oldintfunc)()
 

unsigned char MPORT::out_mask
 

Mask to apply before writing data.

Definition at line 247 of file ports.h.

int MPORT::out_port
 

port for sending

Definition at line 224 of file ports.h.

int MPORT::OutputQueueSize
 

Size used when port was opened (currently only used by COM ports).

Definition at line 250 of file ports.h.

int MPORT::secondary_in
 

Definition at line 227 of file ports.h.

int MPORT::secondary_out
 

Definition at line 226 of file ports.h.

UINT8 MPORT::state
 

Definition at line 231 of file ports.h.

unsigned short MPORT::status
 

see below

Definition at line 229 of file ports.h.

FILE* MPORT::stream
 

For fopen/popen'd files.

Definition at line 228 of file ports.h.

MPORTTYPE* MPORT::type
 

Definition at line 215 of file ports.h.

int MPORT::unit_num
 

1 = LPT1... etc...

Definition at line 216 of file ports.h.

short MPORT::word_dma
 

Definition at line 221 of file ports.h.


The documentation for this struct was generated from the following file:
Generated on Wed May 31 15:28:54 2006 for TNTsdk by  doxygen 1.3.8-20040913