Main MRPT website > C++ reference for MRPT 1.5.6
xssyncpolarity.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 XSSYNCPOLARITY_H
10 #define XSSYNCPOLARITY_H
11 
12 /*! \addtogroup enums Global enumerations
13  @{
14 */
15 /*! \brief Signal polarity */
17 {
18  XSP_None = 0, /*!< \brief Don't generate or react to trigger level changes */
19  XSP_RisingEdge = 1, /*!< \brief React to a rising edge on input */
20  XSP_PositivePulse = XSP_RisingEdge, /*!< \brief Generate a positive pulse on output */
21  XSP_FallingEdge = 2, /*!< \brief React to a falling edge on input */
22  XSP_NegativePulse = XSP_FallingEdge, /*!< \brief Generate a falling edge on output */
23  XSP_Both /*!< \brief Toggle output or react on all toggles on input */
24 };
25 /*! @} */
27 
28 #endif // file guard
Don't generate or react to trigger level changes.
Toggle output or react on all toggles on input.
React to a rising edge on input.
Generate a falling edge on output.
React to a falling edge on input.
XsSyncPolarity
Signal polarity.
Generate a positive pulse on output.



Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018