XilinxProcessorIPLib/drivers/dp14rxss/src/xdprxss_mcdp6000.c
int XDpRxSs_MCDP6000_AccessLaneSet(XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress)
{
	int Result;

	/* Verify argument.*/
	Xil_AssertNonvoid(DpRxSsPtr != NULL);

	/* Set Reset bits (bits 0) */
	Result = XDpRxSs_MCDP6000_SetRegister(DpRxSsPtr, I2CSlaveAddress,
				      0x0150, 0x01);
	if (Result != XST_SUCCESS) {
		return XST_FAILURE;
	}

	/* Clear Reset bits (bits 0) */
	Result = XDpRxSs_MCDP6000_SetRegister(DpRxSsPtr, I2CSlaveAddress,
				      0x0150, 0x00);
	if (Result != XST_SUCCESS) {
		return XST_FAILURE;
	}

	return Result;
}
/*****************************************************************************/
/**
*
* This function sets the access lane register of the MCDP6000 device.
*
* @param DpRxSsPtr is a pointer to the XDpRxSs core instance.
* @param I2CSlaveAddress is the 7-bit I2C slave address.
*
* @return
*    - XST_SUCCESS access lane set successful.
*    - XST_FAILURE setting access lane failed.
*
* @note None.
*
******************************************************************************/
This function sets the access lane register of the MCDP6000 device.
This function sets the access lane register of the MCDP6000 device .
int XDpRxSs_MCDP6000_AccessLaneSet(XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress)
{
	int Result;
	Xil_AssertNonvoid(DpRxSsPtr != NULL);
	Result = XDpRxSs_MCDP6000_SetRegister(DpRxSsPtr, I2CSlaveAddress,
				      0x0150, 0x01);
	if (Result != XST_SUCCESS) {
		return XST_FAILURE;
	}
	Result = XDpRxSs_MCDP6000_SetRegister(DpRxSsPtr, I2CSlaveAddress,
				      0x0150, 0x00);
	if (Result != XST_SUCCESS) {
		return XST_FAILURE;
	}
	return Result;
}
int XDpRxSs_MCDP6000_AccessLaneSet ( XDpRxSs * DpRxSsPtr , u8 I2CSlaveAddress ) { int Result ; Xil_AssertNonvoid ( DpRxSsPtr != NULL ) ; Result = XDpRxSs_MCDP6000_SetRegister ( DpRxSsPtr , I2CSlaveAddress , 0x0150 , 0x01 ) ; if ( Result != XST_SUCCESS ) { return XST_FAILURE ; } Result = XDpRxSs_MCDP6000_SetRegister ( DpRxSsPtr , I2CSlaveAddress , 0x0150 , 0x00 ) ; if ( Result != XST_SUCCESS ) { return XST_FAILURE ; } return Result ; }
This function sets the access lane register of the MCDP6000 device.
This function sets the access lane register of the MCDP6000 device .
/* Verify argument.*/ /* Set Reset bits (bits 0) */ /* Clear Reset bits (bits 0) */