Go to the source code of this file.
Functions |
| void | CloseComport (int comport_number) |
| void | cprintf (int comport_number, const char *text) |
| int | IsCTSEnabled (int comport_number) |
| int | OpenComport (int comport_number, int baudrate) |
| int | PollComport (int comport_number, unsigned char *buf, int size) |
| int | SendBuf (int comport_number, unsigned char *buf, int size) |
| int | SendByte (int comport_number, unsigned char byte) |
Variables |
| char | baudr [64] |
| char | comports [16][10] |
| HANDLE | Cport [16] |
Function Documentation
| void cprintf |
( |
int |
comport_number, |
|
|
const char * |
text |
|
) |
| |
| int PollComport |
( |
int |
comport_number, |
|
|
unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
| int SendBuf |
( |
int |
comport_number, |
|
|
unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
| int SendByte |
( |
int |
comport_number, |
|
|
unsigned char |
byte |
|
) |
| |
Variable Documentation
Initial value:{"\\\\.\\COM1", "\\\\.\\COM2", "\\\\.\\COM3", "\\\\.\\COM4",
"\\\\.\\COM5", "\\\\.\\COM6", "\\\\.\\COM7", "\\\\.\\COM8",
"\\\\.\\COM9", "\\\\.\\COM10", "\\\\.\\COM11", "\\\\.\\COM12",
"\\\\.\\COM13", "\\\\.\\COM14", "\\\\.\\COM15", "\\\\.\\COM16"}
Definition at line 221 of file rs232.c.