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_ */
StopBits
Stop bits used in a serial packet.
Embedded control libraries.
Parity
Parity of the serial packet.
DataBits
Data bits used in a serial packet.
BaudRate
Serial connection baud rate.


ecl_devices
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:55