Main MRPT website > C++ reference for MRPT 1.5.7
xsbaudcode.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 #ifndef XSBAUDCODE_H
10 #define XSBAUDCODE_H
11 
12 /*! \brief Internal baud rate configuration codes
13 */
14 
15 enum XSNOCOMEXPORT XsBaudCode {
16  // Baudrate codes for SetBaudrate message
17  XBC_4k8 = 0x0B, //!< 4k8 (4800 bps)
18  XBC_9k6 = 0x09, //!< 9k6 (9600 bps)
19 // XBC_14k4 = 0x08,
20  XBC_19k2 = 0x07, //!< 19k2 (19200 bps)
21 // XBC_28k8 = 0x06,
22  XBC_38k4 = 0x05, //!< 38k4 (38400 bps)
23  XBC_57k6 = 0x04, //!< 57k6 (57600 bps)
24 // XBC_76k8 = 0x03,
25  XBC_115k2 = 0x02, //!< 115k2 (115200 bps)
26  XBC_230k4 = 0x01, //!< 230k4 (230400 bps)
27  XBC_460k8 = 0x00, //!< 460k8 (460800 bps)
28  XBC_921k6 = 0x0A, //!< 921k6 (921600 bps). Only usable from MTi/x FW 2.4.6
29  XBC_921k6Legacy = 0x80, //!< 921k6 (921600 bps)
30  XBC_2MegaBaud = 0x0C, //!< 2000k0 (2000000 bps)
31  XBC_4MegaBaud = 0x0D, //!< 4000k0 (4000000 bps)
32  XBC_Invalid = 0xFF //!< Not a valid baud rate
33 };
34 
35 #endif
XBC_4MegaBaud
4000k0 (4000000 bps)
Definition: xsbaudcode.h:31
XBC_2MegaBaud
2000k0 (2000000 bps)
Definition: xsbaudcode.h:30
XBC_4k8
4k8 (4800 bps)
Definition: xsbaudcode.h:17
XBC_460k8
460k8 (460800 bps)
Definition: xsbaudcode.h:27
XBC_230k4
230k4 (230400 bps)
Definition: xsbaudcode.h:26
XBC_57k6
57k6 (57600 bps)
Definition: xsbaudcode.h:23
XBC_9k6
9k6 (9600 bps)
Definition: xsbaudcode.h:18
XBC_115k2
115k2 (115200 bps)
Definition: xsbaudcode.h:25
XBC_921k6Legacy
921k6 (921600 bps)
Definition: xsbaudcode.h:29
XBC_38k4
38k4 (38400 bps)
Definition: xsbaudcode.h:22
enum XsBaudCode XsBaudCode
Definition: xsbaud.h:24
XBC_921k6
921k6 (921600 bps). Only usable from MTi/x FW 2.4.6
Definition: xsbaudcode.h:28
XBC_19k2
19k2 (19200 bps)
Definition: xsbaudcode.h:20



Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019