USB-BDI
|
headerfile for virtual_com_port.c More...
Go to the source code of this file.
Functions | |
void | initVirtualComPort () |
This method initials the virtual com port. | |
void | handelVirtualComPortPackages () |
This method runs the package handling for the virtual com port. | |
Variables | |
unsigned long | bitRate |
unsigned char | stopBit |
unsigned char | parityBit |
unsigned char | dataBits |
unsigned short | stopTime |
unsigned char | rts |
unsigned char | dtr |
headerfile for virtual_com_port.c
Definition in file virtual_com_port.h.
void handelVirtualComPortPackages | ( | void | ) |
This method runs the package handling for the virtual com port.
It has to be called periodical in the main routine.
Definition at line 175 of file virtual_com_port.c.
void initVirtualComPort | ( | void | ) |
This method initials the virtual com port.
It sets the RS-232 initial values , configs endpoint 1,4 and 6 and their fifos, disable the endpoints interrupts and resets the fifos.
Definition at line 52 of file virtual_com_port.c.
unsigned long bitRate |
bit rate
Definition at line 29 of file virtual_com_port.c.
unsigned char dataBits |
Number of data bits (5, 6, 7, 8, or 16)
Definition at line 35 of file virtual_com_port.c.
unsigned char dtr |
DTR: 0= de-assert 1= assert
Definition at line 41 of file virtual_com_port.c.
unsigned char parityBit |
Parity: 0 = None, 1 = Odd, 2 = Even, 3 = Mark, 4 = Space
Definition at line 33 of file virtual_com_port.c.
unsigned char rts |
RTS: 0= de-assert 1= assert
Definition at line 39 of file virtual_com_port.c.
unsigned char stopBit |
Stop bits: 0 = 1 Stop bit, 1 = 1.5 Stop bits, 2 = 2 Stop bits
Definition at line 31 of file virtual_com_port.c.
unsigned short stopTime |
Stop time in msec
Definition at line 37 of file virtual_com_port.c.