text: #ifndef XSOUTPUTSETTINGS_H
  #define XSOUTPUTSETTINGS_H
  
  /*!	\addtogroup enums Global enumerations
  	@{
  */
  //! Bit values for legacy output settings
  enum XsOutputSettings {
  	XOS_Timestamp_Mask					= 0x00000003,	//!< Timestamp mask \deprecated
  	XOS_Timestamp_None					= 0x00000000,	//!< No timestamp \deprecated
  	XOS_Timestamp_PacketCounter			= 0x00000001,	//!< Packetcounter timestamp\deprecated
  	XOS_Timestamp_SampleUtc				= 0x00000002,	//!< UTC timestamp \deprecated
  	XOS_OrientationMode_Mask			= 0x0000000C,	//!< Orientation mode mask \deprecated
  	XOS_OrientationMode_Quaternion		= 0x00000000,	//!< Quaternion orientation data \deprecated
  	XOS_OrientationMode_Euler			= 0x00000004,	//!< Euler angles orientation data \deprecated
  	XOS_OrientationMode_Matrix			= 0x00000008,	//!< Rotation matrix orientation data \deprecated
  	XOS_CalibratedMode_All				= 0x00000000,	//!< All calibrated data \deprecated
  	XOS_CalibratedMode_AccGyrMag_Mask	= 0x00000070,	//!< Mask for acceleration, gyroscope and magnetometer data \deprecated
  	XOS_CalibratedMode_Mask				= XOS_CalibratedMode_AccGyrMag_Mask,	//!< Mask for acceleration, gyroscope and magnetometer data \deprecated
  	XOS_CalibratedMode_Acc_Mask			= 0x00000010,	//!< Mask for accelerationdata \deprecated
  	XOS_CalibratedMode_AccOnly			= 0x00000060,	//!< Acceleration output only \deprecated
  	XOS_CalibratedMode_AccGyrOnly		= 0x00000040,	//!< Acceleration and gyroscope output only \deprecated
  	XOS_CalibratedMode_AccMagOnly		= 0x00000020,	//!< Acceleration and magnetometer output only \deprecated
  	XOS_CalibratedMode_Gyr_Mask			= 0x00000020,	//!< Mask for gyroscope data \deprecated
  	XOS_CalibratedMode_GyrOnly			= 0x00000050,	//!< Gyroscope output only \deprecated
  	XOS_CalibratedMode_GyrMagOnly		= 0x00000010,	//!< Gyroscope and magnetometer output only \deprecated
  	XOS_CalibratedMode_Mag_Mask			= 0x00000040,	//!< Mask for magnetometer data \deprecated
  	XOS_CalibratedMode_MagOnly			= 0x00000030,	//!< Magnetometer output only \deprecated
  	XOS_Status_Compact					= 0x00000000,	//!< Compact status output \deprecated
  	XOS_Status_Detailed					= 0x00000080,	//!< Detailed status output \deprecated
  	XOS_Dataformat_Mask					= 0x00000300,	//!< Mask for the data format output for all none-raw values \deprecated
  	XOS_Dataformat_Float				= 0x00000000,	//!< Floating point data format for all none-raw values \deprecated
  	XOS_Dataformat_F1220				= 0x00000100,	//!< Fixed point 12.20 data format for all none-raw values \deprecated
  	XOS_Dataformat_Fp1632				= 0x00000200,	//!< Fixed point 16.32 data format for all none-raw values \deprecated
  	XOS_Dataformat_Double				= 0x00000300,	//!< Double data format for all none-raw values \deprecated
  
  	XOS_AuxiliaryMode_Mask				= 0x00000C00,	//!< Auxiliary mode mask \deprecated
  	XOS_AuxiliaryMode_Ain1_Mask			= 0x00000400,	//!< Auxiliary mode analog in 1 mask \deprecated
  	XOS_AuxiliaryMode_Ain2_Mask			= 0x00000800,	//!< Auxiliary mode analog in 2 mask \deprecated
  	XOS_AuxiliaryMode_Ain1				= 0x00000800,	//!< Auxiliary mode analog in 1 \deprecated
  	XOS_AuxiliaryMode_Ain2				= 0x00000400,	//!< Auxiliary mode analog in 2 \deprecated
  	XOS_PositionMode_Mask				= 0x0001C000,	//!< Position mode mask \deprecated
  	XOS_PositionMode_Lla_Wgs84			= 0x00000000,	//!< Position in latitude, longitude format \deprecated
  	XOS_VelocityMode_Mask				= 0x00060000,	//!< Velocity mask \deprecated
  	XOS_VelocityMode_Ms_Xyz				= 0x00000000,	//!< Velocity in m/s, XYZ coordinate system \deprecated
  	XOS_GpsInGpsPvt						= 0x00000000,	//!< Gps in PVT data \deprecated
  	XOS_NoGpsInGpsPvt					= 0x00080000,	//!< No Gps in PVT data \deprecated
  	XOS_ExtendedTemperature_Mask		= 0x01000000,	//!< Extended temperature mask\deprecated
  	XOS_SampleTimeFine_Mask             = 0x02000000,	//!< Sample time fine mask \deprecated
  	XOS_Coordinates_Ned					= 0x80000000	//!< North east down coordinates \deprecated
  
  	//XOS_Uncertainty_Orient				= 0x00100000
  	//XOS_Uncertainty_Pos					= 0x00200000
  	//XOS_Uncertainty_Vel					= 0x00400000
  	//XOS_Uncertainty_Mask				= 0x00F00000
  
  };
  /*! @} */
  typedef enum XsOutputSettings XsOutputSettings;
  
  #define XS_DEFAULT_OUTPUT_SETTINGS		(XsOutputSettings)(XOS_OrientationMode_Quaternion | XOS_Timestamp_PacketCounter)
  
  #ifdef __cplusplus
  /*! \brief Allow logical or of XsOutputSettings to be a valid XsOutputSettings value */
  inline XsOutputSettings operator | (XsOutputSettings a, XsOutputSettings b)
  {
  	return (XsOutputSettings) ((unsigned long) a | (unsigned long) b);
  }
  
  /*! \brief Allow logical and of XsOutputSettings to be a valid XsOutputSettings value */
  inline XsOutputSettings operator & (XsOutputSettings a, XsOutputSettings b)
  {
  	return (XsOutputSettings) ((unsigned long) a & (unsigned long) b);
  }
  
  /*! \brief Allow logical inversion of XsOutputSettings to be a valid XsOutputSettings value */
  inline XsOutputSettings operator ~ (XsOutputSettings a)
  {
  	return (XsOutputSettings) ~((unsigned long)a);
  }
  
  /*! \brief Allow &= operator on XsOutputSettings */
  inline XsOutputSettings& operator &= (XsOutputSettings& left, XsOutputSettings right)
  {
  	return left = left & right;
  }
  
  /*! \brief Allow |= operator on XsOutputSettings */
  inline XsOutputSettings& operator |= (XsOutputSettings& left, XsOutputSettings right)
  {
  	return left = left | right;
  }
  
  #endif
  
  #endif
  