Defines | Functions
rs_comm.h File Reference
#include "pCommon.h"
Include dependency graph for rs_comm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#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)

Define Documentation

#define BIT_LEN_7   7

Definition at line 21 of file rs_comm.h.

#define BIT_LEN_8   8

Definition at line 22 of file rs_comm.h.

#define CHR_ACK   0x06

Definition at line 28 of file rs_comm.h.

#define CHR_CR   0x0D

Definition at line 30 of file rs_comm.h.

#define CHR_DLE   0x10

Definition at line 31 of file rs_comm.h.

#define CHR_ENQ   0x05

Definition at line 27 of file rs_comm.h.

#define CHR_EOT   0x04

Definition at line 26 of file rs_comm.h.

#define CHR_ETX   0x03

Definition at line 25 of file rs_comm.h.

#define CHR_LF   0x0A

Definition at line 29 of file rs_comm.h.

#define CHR_NAK   0x15

Definition at line 32 of file rs_comm.h.

#define CHR_STX   0x02

Definition at line 24 of file rs_comm.h.

#define CHR_SUB   0x1A

Definition at line 33 of file rs_comm.h.

#define PAR_EVEN   2

Definition at line 19 of file rs_comm.h.

#define PAR_NON   0

Definition at line 17 of file rs_comm.h.

#define PAR_ODD   1

Definition at line 18 of file rs_comm.h.


Function Documentation

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.



leptrino_force_torque
Author(s):
autogenerated on Thu Feb 7 2019 03:27:52