Main Page
Modules
Namespaces
Classes
Files
File List
File Members
include
ecl
devices
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
36
BaudRate_300
,
37
BaudRate_600
,
38
BaudRate_1200
,
39
BaudRate_2400
,
40
BaudRate_4800
,
41
BaudRate_9600
,
42
BaudRate_19200
,
43
BaudRate_38400
,
44
BaudRate_57600
,
45
BaudRate_115200
,
46
BaudRate_230400
,
47
BaudRate_460800
,
48
BaudRate_921600
49
};
50
56
enum
DataBits
{
57
DataBits_5
= 0,
58
DataBits_6
,
59
DataBits_7
,
60
DataBits_8
,
61
};
62
68
enum
StopBits
{
69
StopBits_1
= 0,
70
StopBits_15
,
71
StopBits_2
72
};
73
79
enum
Parity
{
80
NoParity
= 0,
81
OddParity
= 1,
82
EvenParity
= 2
83
};
84
85
}
// namespace ecl
86
87
#endif
/* ECL_DEVICES_SERIAL_PARAMETERS_HPP_ */
ecl::NoParity
NoParity
ecl::StopBits
StopBits
ecl
ecl::EvenParity
EvenParity
ecl::BaudRate_300
BaudRate_300
ecl::BaudRate_9600
BaudRate_9600
ecl::DataBits_5
DataBits_5
ecl::BaudRate_57600
BaudRate_57600
ecl::BaudRate_460800
BaudRate_460800
ecl::StopBits_1
StopBits_1
ecl::BaudRate_2400
BaudRate_2400
ecl::DataBits_6
DataBits_6
ecl::BaudRate_600
BaudRate_600
ecl::BaudRate_4800
BaudRate_4800
ecl::OddParity
OddParity
ecl::BaudRate_230400
BaudRate_230400
ecl::DataBits_8
DataBits_8
ecl::Parity
Parity
ecl::StopBits_2
StopBits_2
ecl::BaudRate_110
BaudRate_110
ecl::DataBits
DataBits
ecl::BaudRate_19200
BaudRate_19200
ecl::StopBits_15
StopBits_15
ecl::BaudRate_921600
BaudRate_921600
ecl::DataBits_7
DataBits_7
ecl::BaudRate_115200
BaudRate_115200
ecl::BaudRate
BaudRate
ecl::BaudRate_38400
BaudRate_38400
ecl::BaudRate_1200
BaudRate_1200
xbot_node
Author(s): Roc, wangpeng@droid.ac.cn
autogenerated on Sat Oct 10 2020 03:28:13