Main Page
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
Definition:
serial_parameters.hpp:80
ecl::StopBits
StopBits
Stop bits used in a serial packet.
Definition:
serial_parameters.hpp:68
ecl
Embedded control libraries.
ecl::EvenParity
Definition:
serial_parameters.hpp:82
ecl::BaudRate_300
Definition:
serial_parameters.hpp:36
ecl::BaudRate_9600
Definition:
serial_parameters.hpp:41
ecl::DataBits_5
Definition:
serial_parameters.hpp:57
ecl::BaudRate_57600
Definition:
serial_parameters.hpp:44
ecl::BaudRate_460800
Definition:
serial_parameters.hpp:47
ecl::StopBits_1
Definition:
serial_parameters.hpp:69
ecl::BaudRate_2400
Definition:
serial_parameters.hpp:39
ecl::DataBits_6
Definition:
serial_parameters.hpp:58
ecl::BaudRate_600
Definition:
serial_parameters.hpp:37
ecl::BaudRate_4800
Definition:
serial_parameters.hpp:40
ecl::OddParity
Definition:
serial_parameters.hpp:81
ecl::BaudRate_230400
Definition:
serial_parameters.hpp:46
ecl::DataBits_8
Definition:
serial_parameters.hpp:60
ecl::Parity
Parity
Parity of the serial packet.
Definition:
serial_parameters.hpp:79
ecl::StopBits_2
Definition:
serial_parameters.hpp:71
ecl::BaudRate_110
Definition:
serial_parameters.hpp:35
ecl::DataBits
DataBits
Data bits used in a serial packet.
Definition:
serial_parameters.hpp:56
ecl::BaudRate_19200
Definition:
serial_parameters.hpp:42
ecl::StopBits_15
Definition:
serial_parameters.hpp:70
ecl::BaudRate_921600
Definition:
serial_parameters.hpp:48
ecl::DataBits_7
Definition:
serial_parameters.hpp:59
ecl::BaudRate_115200
Definition:
serial_parameters.hpp:45
ecl::BaudRate
BaudRate
Serial connection baud rate.
Definition:
serial_parameters.hpp:34
ecl::BaudRate_38400
Definition:
serial_parameters.hpp:43
ecl::BaudRate_1200
Definition:
serial_parameters.hpp:38
ecl_devices
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:45