serial_parameters.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_DEVICES_SERIAL_PARAMETERS_HPP_
13 #define ECL_DEVICES_SERIAL_PARAMETERS_HPP_
14 
15 /*****************************************************************************
16 ** Namespaces
17 *****************************************************************************/
18 
19 namespace ecl {
20 
21 /*****************************************************************************
22 ** Enums
23 *****************************************************************************/
24 
34 enum BaudRate {
35  BaudRate_110, // these are supported by most serial devices
49 };
50 
56 enum DataBits {
61 };
62 
68 enum StopBits {
72 };
73 
79 enum Parity {
80  NoParity = 0,
81  OddParity = 1,
83 };
84 
85 } // namespace ecl
86 
87 #endif /* ECL_DEVICES_SERIAL_PARAMETERS_HPP_ */
EvenParity
BaudRate_300
BaudRate_9600
DataBits_5
BaudRate_57600
BaudRate_460800
StopBits_1
BaudRate_2400
DataBits_6
BaudRate_600
BaudRate_4800
BaudRate_230400
DataBits_8
StopBits_2
BaudRate_110
BaudRate_19200
StopBits_15
BaudRate_921600
DataBits_7
BaudRate_115200
BaudRate_38400
BaudRate_1200


xbot_node
Author(s): Roc, wangpeng@droid.ac.cn
autogenerated on Sat Oct 10 2020 03:28:13