TarzaNN
TarzaNN neural network simulator
Defines | Typedefs | Functions
C:/Users/albertlr/projects/TarzaNN/TarzaNN/w32seria.h File Reference
#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

typedef HANDLE portstream_fd

Function Documentation

char closeserial ( portstream_fd  )
void do_delay ( long  )
char FlushInputBuffer ( portstream_fd  )
char GetSignedLong ( portstream_fd  ,
signed long *  ,
long   
)
char GetSignedShort ( portstream_fd  ,
signed short *  ,
long   
)
char GetUnsignedShort ( portstream_fd  ,
unsigned short *  ,
long   
)
int joystick_control ( void  )
int numPendingInputChars ( portstream_fd  portstream)
portstream_fd openserial ( char *  portname)
char PeekByte ( portstream_fd  ,
unsigned char *   
)
char PutSignedLong ( portstream_fd  ,
signed long *   
)
char PutSignedShort ( portstream_fd  ,
signed short *   
)
char PutUnsignedShort ( portstream_fd  ,
unsigned short *   
)
char ReadSerialLine ( portstream_fd  ,
unsigned char *  ,
long  ,
int *   
)
char SerialBytesIn ( portstream_fd  ,
unsigned char *  ,
unsigned  int,
long   
)
char SerialBytesOut ( portstream_fd  ,
unsigned char *  ,
int   
)
char SerialStringOut ( portstream_fd  ,
unsigned char *   
)
char setbaudrate ( int  baudrate)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines