XilinxProcessorIPLib/drivers/v_hdmitxss/examples/xhdmi_example/TxOnly/xhdmi_example.c
int I2cMux(void)
{
	u8 Buffer;
	int Status;

	/* Select SI5324 clock generator */
#if defined (ARMR5) || (__aarch64__)
	Buffer = 0x10;
	Status = XIicPs_MasterSendPolled(&Ps_Iic1, (u8 *)&Buffer, 1, 0);
#else
	Buffer = 0x80;
	Status = XIic_Send((XPAR_IIC_0_BASEADDR), (I2C_MUX_ADDR),
					   (u8 *)&Buffer, 1, (XIIC_STOP));
#endif

	return Status;
}
/*****************************************************************************/
/**
*
* This function setup SI5324 clock generator over IIC.
*
* @param  None.
*
* @return The number of bytes sent.
*
* @note   None.
*
******************************************************************************/
This function setup SI5324 clock generator over IIC.
This function setup SI5324 clock generator over IIC .
int I2cMux(void)
{
	u8 Buffer;
	int Status;
#if defined (ARMR5) || (__aarch64__)
	Buffer = 0x10;
	Status = XIicPs_MasterSendPolled(&Ps_Iic1, (u8 *)&Buffer, 1, 0);
#else
	Buffer = 0x80;
	Status = XIic_Send((XPAR_IIC_0_BASEADDR), (I2C_MUX_ADDR),
					   (u8 *)&Buffer, 1, (XIIC_STOP));
#endif
	return Status;
}
int I2cMux ( void ) { u8 Buffer ; int Status ; #if defined ( ARMR5 ) || ( __aarch64__ ) Buffer = 0x10 ; Status = XIicPs_MasterSendPolled ( & Ps_Iic1 , ( u8 * ) & Buffer , 1 , 0 ) ; #else Buffer = 0x80 ; Status = XIic_Send ( ( XPAR_IIC_0_BASEADDR ) , ( I2C_MUX_ADDR ) , ( u8 * ) & Buffer , 1 , ( XIIC_STOP ) ) ; #endif return Status ; }
This function setup SI5324 clock generator over IIC.
This function setup SI5324 clock generator over IIC .
/* Select SI5324 clock generator */