Main Page | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

port_t Struct Reference

Port definition. More...

#include <rig.h>


Data Fields

int fd
int write_delay
int post_write_delay
struct {
post_write_date
int timeout
int retry
char pathname [100]
union {
   struct {
      int   rate
      int   data_bits
      int   stop_bits
   }   serial
   struct {
      int   pin
   }   parallel
parm
rig_port_t rig
ptt_type_t ptt
dcd_type_t dcd


Detailed Description

Port definition.

Of course, looks like OO painstakingly programmed in C, sigh.

Examples:

/tests/testrig.c.


Field Documentation

int port_t::data_bits
 

Number of data bits

Examples:
/tests/testrig.c.

dcd_type_t port_t::dcd
 

DCD port type

int port_t::fd
 

File descriptor

struct { ... } port_t::parallel
 

parallel attributes

union { ... } port_t::parm
 

Port parameter union

Examples:
/tests/testrig.c.

char port_t::pathname[100]
 

Port pathname

Examples:
/tests/testrig.c.

int port_t::pin
 

Parrallel port pin number

struct { ... } port_t::post_write_date
 

hamlib internal use

int port_t::post_write_delay
 

Delay between each commands send out, in ms

ptt_type_t port_t::ptt
 

PTT port type

int port_t::rate
 

Serial baud rate

Examples:
/tests/testrig.c.

int port_t::retry
 

Maximum number of retries, 0 to disable

rig_port_t port_t::rig
 

Communication port type

Examples:
/tests/testrig.c.

struct { ... } port_t::serial
 

serial attributes

Examples:
/tests/testrig.c.

int port_t::stop_bits
 

Number of stop bits

Examples:
/tests/testrig.c.

int port_t::timeout
 

Timeout, in ms

int port_t::write_delay
 

Delay between each byte sent out, in ms


The documentation for this struct was generated from the following file:
Generated on Thu Dec 9 09:21:36 2004 for Hamlib - the C library reference by  doxygen 1.3.9.1