Main Page | Data Structures | File List | Data Fields | Globals

tsCCT_COMM_HANDLER Struct Reference

#include <cctalk-driver.h>

Collaboration diagram for tsCCT_COMM_HANDLER:

Collaboration graph
[legend]

Detailed Description

This structure holds the parameters for the raw serial port and the operation chains.

The members of this structure contain the pieces of infomation that need to be contained during the lifetime of a cctalk serial port. This structure also contains both the Tx and Rx chains of cctalk transactions that are waiting to be processed or waiting to be read from the requesting client. This structure is the interface between the cctalk driver code and the cctalk channel code there is one of rthese structures for each channel.


Data Fields

char acSerialTty [eCCT_DRV_DEV_SIZE]
int fdHandle
teCCTALK_SPEED eSpeed
unsigned long lUsageCounter
termios sOldTio
termios sNewTio
tsCCTALK_OPERATIONpsTxCctOps
tsCCTALK_OPERATIONpsRxCctOps


Field Documentation

char tsCCT_COMM_HANDLER::acSerialTty[ eCCT_DRV_DEV_SIZE ]
 

Name of Linux serial port to open

teCCTALK_SPEED tsCCT_COMM_HANDLER::eSpeed
 

The speed of the cctalk channel

int tsCCT_COMM_HANDLER::fdHandle
 

The handle of the opened serial port

unsigned long tsCCT_COMM_HANDLER::lUsageCounter
 

This counter increments when open and decrements when closed if it decrements to 0 then the channel is closed

tsCCTALK_OPERATION* tsCCT_COMM_HANDLER::psRxCctOps
 

Pointer to a list of cctalk operation that have been finished

tsCCTALK_OPERATION* tsCCT_COMM_HANDLER::psTxCctOps
 

Pointer to a list of cctalk operations to be sent

struct termios tsCCT_COMM_HANDLER::sNewTio
 

The new terminal settings

struct termios tsCCT_COMM_HANDLER::sOldTio
 

The saved terminal information to be restored on close


The documentation for this struct was generated from the following file:
Generated on Thu Jan 20 16:13:15 2005 for Axis cctalk sub-system by doxygen 1.3.6