|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Derived Classes:
Enumerated types:
- enum ParityT { PARITY_ODD, PARITY_EVEN, PARITY_SET, PARITY_NONE } ;
-
Variables:
Methods:
- SerialCtrlC()
-
defualt constructor;
- SerialCtrlC(const char * dev,const char * perm)
-
open a device for initialize;
- BooleanT Setup(IntT i_speed = 9600,IntT o_speed = 9600,IntT stop_bit = 1,ParityT par = PARITY_NONE,IntT char_size = 8)
-
Setup the port.
with the given parameters: Input speed, Output speed,
stop bit(1,2), parity(exist or not exist), parity type(odd or even) and charactoe size(5,6,7,8)
- BooleanT SetISpeed(const IntT i_speed)
-
set the input speed of the port;
- BooleanT SetOSpeed(const IntT o_speed)
-
set the output speed of the port;
- BooleanT SetStopBits(const IntT stop_bit)
-
set the number of stop bits : 1 or 2;
- BooleanT SetCharSize(const IntT char_size)
-
set the charactor size: 5,6,7,8;
- BooleanT SetParity(ParityT par)
-
parity type: Odd or Even or None or 1
- IntT Getfd()
-
Get the file discriptor of the port;
|
Programmer:Fangxiang Cheng, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|