#include <windows.h>
Go to the source code of this file.
Defines |
#define | SERIAL_CODE_VERSION "v1.09.14" |
#define | PORT_NOT_OPENED NULL |
#define | AWAIT_CHARSTREAM -1 |
#define | TIMEOUT_CHAR_READ -1 |
Typedefs |
typedef HANDLE | portstream_fd |
Functions |
portstream_fd | openserial (char *portname) |
char | setbaudrate (int baudrate) |
char | closeserial (portstream_fd) |
char | SerialBytesOut (portstream_fd, unsigned char *, int) |
char | SerialBytesIn (portstream_fd, unsigned char *, unsigned int, long) |
char | PeekByte (portstream_fd, unsigned char *) |
int | numPendingInputChars (portstream_fd portstream) |
char | FlushInputBuffer (portstream_fd) |
void | do_delay (long) |
char | SerialStringOut (portstream_fd, unsigned char *) |
char | ReadSerialLine (portstream_fd, unsigned char *, long, int *) |
char | GetSignedShort (portstream_fd, signed short *, long) |
char | PutSignedShort (portstream_fd, signed short *) |
char | GetUnsignedShort (portstream_fd, unsigned short *, long) |
char | PutUnsignedShort (portstream_fd, unsigned short *) |
char | GetSignedLong (portstream_fd, signed long *, long) |
char | PutSignedLong (portstream_fd, signed long *) |
int | joystick_control (void) |
Define Documentation
#define AWAIT_CHARSTREAM -1 |
#define PORT_NOT_OPENED NULL |
#define SERIAL_CODE_VERSION "v1.09.14" |
#define TIMEOUT_CHAR_READ -1 |
Typedef Documentation
Function Documentation
char GetUnsignedShort |
( |
portstream_fd |
, |
|
|
unsigned short * |
, |
|
|
long |
|
|
) |
| |
int joystick_control |
( |
void |
| ) |
|
char ReadSerialLine |
( |
portstream_fd |
, |
|
|
unsigned char * |
, |
|
|
long |
, |
|
|
int * |
|
|
) |
| |
char SerialBytesIn |
( |
portstream_fd |
, |
|
|
unsigned char * |
, |
|
|
unsigned |
int, |
|
|
long |
|
|
) |
| |
char setbaudrate |
( |
int |
baudrate | ) |
|