DAS  3.1.6 - 18/09/2017
Macros | Functions
COMM.H File Reference

Go to the source code of this file.

Macros

#define B_110   2
 
#define B_115200   18
 
#define B_1200   7
 
#define B_150   4
 
#define B_19200   15
 
#define B_2400   10
 
#define B_300   5
 
#define B_38400   16
 
#define B_4800   12
 
#define B_57600   17
 
#define B_600   6
 
#define B_9600   14
 
#define COM1   0
 
#define COM2   1
 
#define COM3   2
 
#define COM4   3
 
#define EVEN_PARITY   3
 
#define NO_PARITY   0
 
#define ODD_PARITY   1
 

Functions

void commbrk (int portn)
 
int commchk (int portn)
 
void commclr (int portn)
 
void commdtr (int portn, int dtr)
 
void comminit (int portn, int baudr, int charsiz, int parity)
 
char commrecv (int)
 
void commsend (int portn, char ch)
 
void commterm (int portn)
 

Macro Definition Documentation

§ B_110

#define B_110   2

Definition at line 86 of file COMM.H.

§ B_115200

#define B_115200   18

Definition at line 97 of file COMM.H.

§ B_1200

#define B_1200   7

Definition at line 90 of file COMM.H.

§ B_150

#define B_150   4

Definition at line 87 of file COMM.H.

§ B_19200

#define B_19200   15

Definition at line 94 of file COMM.H.

§ B_2400

#define B_2400   10

Definition at line 91 of file COMM.H.

§ B_300

#define B_300   5

Definition at line 88 of file COMM.H.

§ B_38400

#define B_38400   16

Definition at line 95 of file COMM.H.

§ B_4800

#define B_4800   12

Definition at line 92 of file COMM.H.

§ B_57600

#define B_57600   17

Definition at line 96 of file COMM.H.

§ B_600

#define B_600   6

Definition at line 89 of file COMM.H.

§ B_9600

#define B_9600   14

Definition at line 93 of file COMM.H.

§ COM1

#define COM1   0

Definition at line 79 of file COMM.H.

Referenced by DB_InitMotor().

§ COM2

#define COM2   1

Definition at line 80 of file COMM.H.

Referenced by DB_InitMotor().

§ COM3

#define COM3   2

Definition at line 81 of file COMM.H.

§ COM4

#define COM4   3

Definition at line 82 of file COMM.H.

§ EVEN_PARITY

#define EVEN_PARITY   3

Definition at line 84 of file COMM.H.

§ NO_PARITY

#define NO_PARITY   0

Definition at line 83 of file COMM.H.

§ ODD_PARITY

#define ODD_PARITY   1

Definition at line 85 of file COMM.H.

Function Documentation

§ commbrk()

void commbrk ( int  portn)

§ commchk()

int commchk ( int  portn)

§ commclr()

void commclr ( int  portn)

§ commdtr()

void commdtr ( int  portn,
int  dtr 
)

§ comminit()

void comminit ( int  portn,
int  baudr,
int  charsiz,
int  parity 
)

§ commrecv()

char commrecv ( int  )

§ commsend()

void commsend ( int  portn,
char  ch 
)

§ commterm()

void commterm ( int  portn)
______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:45:23 for DAS - Rel. 3.1.6 - 18/09/2017.