obcsim/msp_obc_link.c
msp_link_t msp_create_link(unsigned long slave_address,
						   msp_seqflags_t flags,
						   unsigned char *buf,
						   unsigned long mtu)
{
	msp_link_t lnk;

	/* Setup the persistent variables */
	lnk.slave_address = slave_address;
	lnk.buffer = buf;
	lnk.mtu = mtu;
	lnk.flags = flags;

	msp_set_as_ready(&lnk);

	return lnk;
}
/*
 * Non-Blocking.
 *
 * Creates and returns a link to an experiment who has the specified
 * properties.
 */
Non-Blocking.

Creates and returns a link to an experiment who has the specified
properties.
Non - Blocking . Creates and returns a link to an experiment who has the specified properties .
msp_link_t msp_create_link(unsigned long slave_address,
						   msp_seqflags_t flags,
						   unsigned char *buf,
						   unsigned long mtu)
{
	msp_link_t lnk;
	lnk.slave_address = slave_address;
	lnk.buffer = buf;
	lnk.mtu = mtu;
	lnk.flags = flags;
	msp_set_as_ready(&lnk);
	return lnk;
}
msp_link_t msp_create_link ( unsigned long slave_address , msp_seqflags_t flags , unsigned char * buf , unsigned long mtu ) { msp_link_t lnk ; lnk . slave_address = slave_address ; lnk . buffer = buf ; lnk . mtu = mtu ; lnk . flags = flags ; msp_set_as_ready ( & lnk ) ; return lnk ; }
Non-Blocking.
Non - Blocking .
/* Setup the persistent variables */