MRPT
1.9.9
xscontrolline.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-2018, 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 XSCONTROLLINE_H
10
#define XSCONTROLLINE_H
11
12
/*! \addtogroup enums Global enumerations
13
@{
14
*/
15
/*! \brief Serial control lines. */
16
enum
XsControlLine
17
{
18
/** pin 1: Carrier Detect */
19
XCL_DCD
= 0x0001,
20
/** pin 2: Received Data */
21
XCL_RD
= 0x0002,
22
/** pin 3: Transmitted Data */
23
XCL_TD
= 0x0004,
24
/** pin 4: Data Terminal Ready */
25
XCL_DTR
= 0x0008,
26
/** pin 5: Common Ground */
27
XCL_GND
= 0x0010,
28
/** pin 6: Data Set Ready */
29
XCL_DSR
= 0x0020,
30
/** pin 7: Request To Send */
31
XCL_RTS
= 0x0040,
32
/** pin 8: Clear To Send */
33
XCL_CTS
= 0x0080,
34
/** pin 9: Ring Indicator */
35
XCL_RI
= 0x0100
36
};
37
/*! @} */
38
typedef
enum
XsControlLine
XsControlLine
;
39
40
#endif // file guard
XCL_DSR
pin 6: Data Set Ready
Definition:
xscontrolline.h:29
XCL_DTR
pin 4: Data Terminal Ready
Definition:
xscontrolline.h:25
XsControlLine
XsControlLine
Serial control lines.
Definition:
xscontrolline.h:16
XCL_RD
pin 2: Received Data
Definition:
xscontrolline.h:21
XCL_CTS
pin 8: Clear To Send
Definition:
xscontrolline.h:33
XCL_RI
pin 9: Ring Indicator
Definition:
xscontrolline.h:35
XCL_GND
pin 5: Common Ground
Definition:
xscontrolline.h:27
XCL_TD
pin 3: Transmitted Data
Definition:
xscontrolline.h:23
XCL_DCD
pin 1: Carrier Detect
Definition:
xscontrolline.h:19
XCL_RTS
pin 7: Request To Send
Definition:
xscontrolline.h:31
Page generated by
Doxygen 1.8.14
for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020