KugleFirmware/Libraries/Devices/MTI200/xbusutility.c
/*! \brief Write a uint32_t value to an Xbus message. */
\brief Write a uint32_t value to an Xbus message.
\ brief Write a uint32_t value to an Xbus message .
uint8_t* XbusUtility_writeU32(uint8_t* out, uint32_t in)
{
	*out++ = (in >> 24) & 0xFF;
	*out++ = (in >> 16) & 0xFF;
	*out++ = (in >> 8) & 0xFF;
	*out++ = in & 0xFF;
	return out;
}
uint8_t * XbusUtility_writeU32 ( uint8_t * out , uint32_t in ) { * out ++ = ( in >> 24 ) & 0xFF ; * out ++ = ( in >> 16 ) & 0xFF ; * out ++ = ( in >> 8 ) & 0xFF ; * out ++ = in & 0xFF ; return out ; }
\brief Write a uint32_t value to an Xbus message.
\ brief Write a uint32_t value to an Xbus message .