KugleFirmware/Libraries/Devices/MTI200/xbusmessage.c
/*!
 * \brief Get a string description for the passed data identifier.
 */
\brief Get a string description for the passed data identifier.
\ brief Get a string description for the passed data identifier .
char const* XbusMessage_dataDescription(enum XsDataIdentifier id)
{
	switch (id)
	{
		case XDI_PacketCounter:
			return "Packet counter";
		case XDI_SampleTimeFine:
			return "Sample time fine";
		case XDI_Quaternion:
			return "Quaternion";
		case XDI_DeltaV:
			return "Velocity increment";
		case XDI_Acceleration:
			return "Acceleration";
		case XDI_RateOfTurn:
			return "Rate of turn";
		case XDI_DeltaQ:
			return "Orientation increment";
		case XDI_MagneticField:
			return "Magnetic field";
		case XDI_StatusWord:
			return "Status word";
		default:
			return "Unknown data type";
	}
}
char const * XbusMessage_dataDescription ( enum XsDataIdentifier id ) { switch ( id ) { case XDI_PacketCounter : return " " ; case XDI_SampleTimeFine : return " " ; case XDI_Quaternion : return " " ; case XDI_DeltaV : return " " ; case XDI_Acceleration : return " " ; case XDI_RateOfTurn : return " " ; case XDI_DeltaQ : return " " ; case XDI_MagneticField : return " " ; case XDI_StatusWord : return " " ; default : return " " ; } }
\brief Get a string description for the passed data identifier.
\ brief Get a string description for the passed data identifier .