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 {
59  DataBits_7,
61 };
62 
68 enum StopBits {
69  StopBits_1 = 0,
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::BaudRate_110
@ BaudRate_110
Definition: serial_parameters.hpp:45
ecl::OddParity
@ OddParity
Definition: serial_parameters.hpp:85
ecl::BaudRate_230400
@ BaudRate_230400
Definition: serial_parameters.hpp:56
ecl::DataBits_8
@ DataBits_8
Definition: serial_parameters.hpp:64
ecl::StopBits_15
@ StopBits_15
Definition: serial_parameters.hpp:74
ecl::BaudRate_921600
@ BaudRate_921600
Definition: serial_parameters.hpp:58
ecl::BaudRate_19200
@ BaudRate_19200
Definition: serial_parameters.hpp:52
ecl::DataBits_7
@ DataBits_7
Definition: serial_parameters.hpp:63
ecl::BaudRate_115200
@ BaudRate_115200
Definition: serial_parameters.hpp:55
ecl::BaudRate_1200
@ BaudRate_1200
Definition: serial_parameters.hpp:48
ecl::Parity
Parity
Parity of the serial packet.
Definition: serial_parameters.hpp:83
ecl::BaudRate_38400
@ BaudRate_38400
Definition: serial_parameters.hpp:53
ecl::NoParity
@ NoParity
Definition: serial_parameters.hpp:84
ecl::EvenParity
@ EvenParity
Definition: serial_parameters.hpp:86
ecl::BaudRate_9600
@ BaudRate_9600
Definition: serial_parameters.hpp:51
ecl::DataBits
DataBits
Data bits used in a serial packet.
Definition: serial_parameters.hpp:60
ecl::BaudRate_300
@ BaudRate_300
Definition: serial_parameters.hpp:46
ecl::DataBits_5
@ DataBits_5
Definition: serial_parameters.hpp:61
ecl::BaudRate
BaudRate
Serial connection baud rate.
Definition: serial_parameters.hpp:38
ecl::BaudRate_57600
@ BaudRate_57600
Definition: serial_parameters.hpp:54
ecl::BaudRate_460800
@ BaudRate_460800
Definition: serial_parameters.hpp:57
ecl::StopBits_1
@ StopBits_1
Definition: serial_parameters.hpp:73
ecl::BaudRate_2400
@ BaudRate_2400
Definition: serial_parameters.hpp:49
ecl::BaudRate_600
@ BaudRate_600
Definition: serial_parameters.hpp:47
ecl::DataBits_6
@ DataBits_6
Definition: serial_parameters.hpp:62
ecl
Embedded control libraries.
ecl::BaudRate_4800
@ BaudRate_4800
Definition: serial_parameters.hpp:50
ecl::StopBits_2
@ StopBits_2
Definition: serial_parameters.hpp:75
ecl::StopBits
StopBits
Stop bits used in a serial packet.
Definition: serial_parameters.hpp:72


ecl_devices
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:45