serial_parameters.hpp
Go to the documentation of this file.
00001 
00008 /*****************************************************************************
00009 ** Ifdefs
00010 *****************************************************************************/
00011 
00012 #ifndef ECL_DEVICES_SERIAL_PARAMETERS_HPP_
00013 #define ECL_DEVICES_SERIAL_PARAMETERS_HPP_
00014 
00015 /*****************************************************************************
00016 ** Namespaces
00017 *****************************************************************************/
00018 
00019 namespace ecl {
00020 
00021 /*****************************************************************************
00022 ** Enums
00023 *****************************************************************************/
00024 
00034 enum BaudRate {
00035     BaudRate_110,     // these are supported by most serial devices
00036     BaudRate_300,
00037     BaudRate_600,
00038     BaudRate_1200,
00039     BaudRate_2400,
00040     BaudRate_4800,
00041     BaudRate_9600,
00042     BaudRate_19200,
00043     BaudRate_38400,
00044     BaudRate_57600,
00045     BaudRate_115200,
00046     BaudRate_230400,
00047     BaudRate_460800,
00048     BaudRate_921600
00049 };
00050 
00056 enum DataBits {
00057     DataBits_5 = 0,
00058     DataBits_6,
00059     DataBits_7,
00060     DataBits_8,
00061 };
00062 
00068 enum StopBits {
00069     StopBits_1 = 0,
00070     StopBits_15,
00071     StopBits_2
00072 };
00073 
00079 enum Parity {
00080     NoParity = 0,
00081     OddParity = 1,
00082     EvenParity = 2
00083 };
00084 
00085 } // namespace ecl
00086 
00087 #endif /* ECL_DEVICES_SERIAL_PARAMETERS_HPP_ */


ecl_devices
Author(s): Daniel Stonier
autogenerated on Thu Jun 6 2019 21:18:03