#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. |
Compile and link with gp3lib.c. Do not link with other files (such as gp3cygwin.c).
Definition in file gp3linux.c.
|
Definition at line 15 of file gp3linux.c. Referenced by gp3openport(). |
|
Definition at line 20 of file gp3linux.c. |
|
Definition at line 16 of file gp3linux.c. |