XilinxProcessorIPLib/drivers/board_common/src/rfclk/src/xrfclk.c
static int XRFClk_GetBusSwitchI2C1(u8 *val)
{
	s32 ret;

	/* Read I2C bus switch configuration */
	ret = XRFClk_I2CRdData_sub(FD_I2C1, I2C_ADDR_BUS_SWITCH, val, 1);
	if (ret == XST_FAILURE) {
		return XST_FAILURE;
	}
	return XST_SUCCESS;
}
/****************************************************************************/
/**
*
* This function is used to enable clk104 buses on I2C1 bus switch.
*
* @param	ChipId indicates the RF clock chip Id.
*
* @return
*	- XST_SUCCESS if successful.
*	- XST_FAILURE if failed.
*
* @note		None
*
****************************************************************************/
This function is used to enable clk104 buses on I2C1 bus switch.
This function is used to enable clk104 buses on I2C1 bus switch .
static int XRFClk_GetBusSwitchI2C1(u8 *val)
{
	s32 ret;
	ret = XRFClk_I2CRdData_sub(FD_I2C1, I2C_ADDR_BUS_SWITCH, val, 1);
	if (ret == XST_FAILURE) {
		return XST_FAILURE;
	}
	return XST_SUCCESS;
}
static int XRFClk_GetBusSwitchI2C1 ( u8 * val ) { s32 ret ; ret = XRFClk_I2CRdData_sub ( FD_I2C1 , I2C_ADDR_BUS_SWITCH , val , 1 ) ; if ( ret == XST_FAILURE ) { return XST_FAILURE ; } return XST_SUCCESS ; }
This function is used to enable clk104 buses on I2C1 bus switch.
This function is used to enable clk104 buses on I2C1 bus switch .
/* Read I2C bus switch configuration */