XilinxProcessorIPLib/drivers/board_common/src/rfclk/src/xrfclk.c
static u32 XRFClk_InitSPI()
{
	u8 tx[2] = { 0xf0, 0x03 };
	if (XST_SUCCESS !=
	    XRFClk_I2CWrData(FD_BRIDGE, I2C_ADDR_I2C2SPI_BRIDGE, tx, 2))
		return XST_FAILURE;
	return XST_SUCCESS;
}
/****************************************************************************/
/**
*
* This function is used to configure SPI.
*
* @param	None
*
* @return
*	- XST_SUCCESS if successful.
*	- XST_FAILURE if failed.
*
* @note		None
*
****************************************************************************/
This function is used to configure SPI.
This function is used to configure SPI .
static u32 XRFClk_InitSPI()
{
	u8 tx[2] = { 0xf0, 0x03 };
	if (XST_SUCCESS !=
	    XRFClk_I2CWrData(FD_BRIDGE, I2C_ADDR_I2C2SPI_BRIDGE, tx, 2))
		return XST_FAILURE;
	return XST_SUCCESS;
}
static u32 XRFClk_InitSPI ( ) { u8 tx [ 2 ] = { 0xf0 , 0x03 } ; if ( XST_SUCCESS != XRFClk_I2CWrData ( FD_BRIDGE , I2C_ADDR_I2C2SPI_BRIDGE , tx , 2 ) ) return XST_FAILURE ; return XST_SUCCESS ; }
This function is used to configure SPI.
This function is used to configure SPI .