KugleFirmware/Libraries/Devices/MTI200/xbusutility.c
/*! \brief Read a uint16_t value from an Xbus message. */
\brief Read a uint16_t value from an Xbus message.
\ brief Read a uint16_t value from an Xbus message .
uint8_t const* XbusUtility_readU16(uint16_t* out, uint8_t const* in)
{
	*out = (in[0] << 8) | in[1];
	return in + sizeof(uint16_t);
}
uint8_t const * XbusUtility_readU16 ( uint16_t * out , uint8_t const * in ) { * out = ( in [ 0 ] << 8 ) | in [ 1 ] ; return in + sizeof ( uint16_t ) ; }
\brief Read a uint16_t value from an Xbus message.
\ brief Read a uint16_t value from an Xbus message .