Main Page   Modules   File List   Globals  

gp3linux.c File Reference

This is the linux-specific gp3 file. More...

#include <stdio.h>
#include <fcntl.h>
#include "gp3lib.h"
#include <asm/termios.h>

Go to the source code of this file.

Defines

#define BAUDRATE   B57600
#define DEBUGOUT   0
#define DEBUG(tag, x)

Functions

int gp3openport (char *port)
 Open the GP3 serial port.

void gp3closeport ()
 Close the GP3 port.

int gp3write (int byte)
 Write a byte to the GP3.

unsigned int gp3read (void)
 Read a byte from the GP3.

int gp3ready (void)
 Optional function reads the CTS input to determine if the GP3 is ready.


Detailed Description

This is the linux-specific gp3 file.

Compile and link with gp3lib.c. Do not link with other files (such as gp3cygwin.c).

Author:
Al Williams alw@al-williams.com
Version:
1.1
Date:
17 Feb 2004

Definition in file gp3linux.c.


Define Documentation

#define BAUDRATE   B57600
 

Definition at line 15 of file gp3linux.c.

Referenced by gp3openport().

#define DEBUG tag,
 
 

Definition at line 20 of file gp3linux.c.

#define DEBUGOUT   0
 

Definition at line 16 of file gp3linux.c.


Generated on Wed Feb 18 00:34:20 2004 for GP3LIB by doxygen1.2.18