#include "pCommon.h"
Go to the source code of this file.
Macros | |
#define | BIT_LEN_7 7 |
#define | BIT_LEN_8 8 |
#define | CHR_ACK 0x06 |
#define | CHR_CR 0x0D |
#define | CHR_DLE 0x10 |
#define | CHR_ENQ 0x05 |
#define | CHR_EOT 0x04 |
#define | CHR_ETX 0x03 |
#define | CHR_LF 0x0A |
#define | CHR_NAK 0x15 |
#define | CHR_STX 0x02 |
#define | CHR_SUB 0x1A |
#define | PAR_EVEN 2 |
#define | PAR_NON 0 |
#define | PAR_ODD 1 |
Functions | |
int | Comm_CheckRcv (void) |
void | Comm_Close (void) |
int | Comm_GetRcvData (UCHAR *buff) |
int | Comm_Open (const char *dev) |
void | Comm_Rcv (void) |
int | Comm_SendData (UCHAR *buff, int l) |
void | Comm_Setup (long baud, int parity, int bitlen, int rts, int dtr, char code) |
int Comm_CheckRcv | ( | void | ) |
Definition at line 233 of file rs_comm.cpp.
void Comm_Close | ( | void | ) |
Definition at line 66 of file rs_comm.cpp.
int Comm_GetRcvData | ( | UCHAR * | buff | ) |
Definition at line 210 of file rs_comm.cpp.
int Comm_Open | ( | const char * | dev | ) |
Definition at line 45 of file rs_comm.cpp.
void Comm_Rcv | ( | void | ) |
Definition at line 246 of file rs_comm.cpp.
int Comm_SendData | ( | UCHAR * | buff, |
int | l | ||
) |
Definition at line 192 of file rs_comm.cpp.
void Comm_Setup | ( | long | baud, |
int | parity, | ||
int | bitlen, | ||
int | rts, | ||
int | dtr, | ||
char | code | ||
) |
Definition at line 87 of file rs_comm.cpp.