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