XilinxProcessorIPLib/drivers/dp14rxss/src/xdprxss_mcdp6000.c
void XDpRxSs_MCDP6000_RegisterDump(XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress)
{
	u32 Data;
	u32 i;

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

	xil_printf("\n\r");
	xil_printf("---------------------\n\r");
	xil_printf("- MCDP6000 I2C dump:\n\r");
	xil_printf("---------------------\n\r");

	for (i = 0x200; i < 0xC00; i+=4) {
		if ((i % 4) == 0) {
			xil_printf("\n\r%04x : ", i);
		}
		Data = XDpRxSs_MCDP6000_GetRegister(DpRxSsPtr, I2CSlaveAddress, i);
		xil_printf("%08x ", Data);
	}

	for (i = 0x1200; i < 0x1600; i+=4) {
		if ((i % 4) == 0) {
			xil_printf("\n\r%04x : ", i);
		}
		Data = XDpRxSs_MCDP6000_GetRegister(DpRxSsPtr, I2CSlaveAddress, i);
		xil_printf("%08x ", Data);
	}

	for (i = 0x2200; i < 0x2600; i+=4) {
		if ((i % 4) == 0) {
			xil_printf("\n\r%04x : ", i);
		}
		Data = XDpRxSs_MCDP6000_GetRegister(DpRxSsPtr, I2CSlaveAddress, i);
		xil_printf("%08x ", Data);
	}

	for (i = 0x2700; i < 0x2800; i+=4) {
		if ((i % 4) == 0) {
			xil_printf("\n\r%04x : ", i);
		}
		Data = XDpRxSs_MCDP6000_GetRegister(DpRxSsPtr, I2CSlaveAddress, i);
		xil_printf("%08x ", Data);
	}
	xil_printf("\n\r");
}
/*****************************************************************************/
/**
*
* This function displays a registerdump of the MCDP6000 device.
*
* @param DpRxSsPtr is a pointer to the XDpRxSs core instance.
* @param I2CSlaveAddress is the 7-bit I2C slave address.
*
* @return None
*
* @note None.
*
******************************************************************************/
This function displays a registerdump of the MCDP6000 device.
This function displays a registerdump of the MCDP6000 device .
void XDpRxSs_MCDP6000_RegisterDump(XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress)
{
	u32 Data;
	u32 i;
	Xil_AssertVoid(DpRxSsPtr != NULL);
	xil_printf("\n\r");
	xil_printf("---------------------\n\r");
	xil_printf("- MCDP6000 I2C dump:\n\r");
	xil_printf("---------------------\n\r");
	for (i = 0x200; i < 0xC00; i+=4) {
		if ((i % 4) == 0) {
			xil_printf("\n\r%04x : ", i);
		}
		Data = XDpRxSs_MCDP6000_GetRegister(DpRxSsPtr, I2CSlaveAddress, i);
		xil_printf("%08x ", Data);
	}
	for (i = 0x1200; i < 0x1600; i+=4) {
		if ((i % 4) == 0) {
			xil_printf("\n\r%04x : ", i);
		}
		Data = XDpRxSs_MCDP6000_GetRegister(DpRxSsPtr, I2CSlaveAddress, i);
		xil_printf("%08x ", Data);
	}
	for (i = 0x2200; i < 0x2600; i+=4) {
		if ((i % 4) == 0) {
			xil_printf("\n\r%04x : ", i);
		}
		Data = XDpRxSs_MCDP6000_GetRegister(DpRxSsPtr, I2CSlaveAddress, i);
		xil_printf("%08x ", Data);
	}
	for (i = 0x2700; i < 0x2800; i+=4) {
		if ((i % 4) == 0) {
			xil_printf("\n\r%04x : ", i);
		}
		Data = XDpRxSs_MCDP6000_GetRegister(DpRxSsPtr, I2CSlaveAddress, i);
		xil_printf("%08x ", Data);
	}
	xil_printf("\n\r");
}
void XDpRxSs_MCDP6000_RegisterDump ( XDpRxSs * DpRxSsPtr , u8 I2CSlaveAddress ) { u32 Data ; u32 i ; Xil_AssertVoid ( DpRxSsPtr != NULL ) ; xil_printf ( " \n \r " ) ; xil_printf ( " \n \r " ) ; xil_printf ( " \n \r " ) ; xil_printf ( " \n \r " ) ; for ( i = 0x200 ; i < 0xC00 ; i += 4 ) { if ( ( i % 4 ) == 0 ) { xil_printf ( " \n \r " , i ) ; } Data = XDpRxSs_MCDP6000_GetRegister ( DpRxSsPtr , I2CSlaveAddress , i ) ; xil_printf ( " " , Data ) ; } for ( i = 0x1200 ; i < 0x1600 ; i += 4 ) { if ( ( i % 4 ) == 0 ) { xil_printf ( " \n \r " , i ) ; } Data = XDpRxSs_MCDP6000_GetRegister ( DpRxSsPtr , I2CSlaveAddress , i ) ; xil_printf ( " " , Data ) ; } for ( i = 0x2200 ; i < 0x2600 ; i += 4 ) { if ( ( i % 4 ) == 0 ) { xil_printf ( " \n \r " , i ) ; } Data = XDpRxSs_MCDP6000_GetRegister ( DpRxSsPtr , I2CSlaveAddress , i ) ; xil_printf ( " " , Data ) ; } for ( i = 0x2700 ; i < 0x2800 ; i += 4 ) { if ( ( i % 4 ) == 0 ) { xil_printf ( " \n \r " , i ) ; } Data = XDpRxSs_MCDP6000_GetRegister ( DpRxSsPtr , I2CSlaveAddress , i ) ; xil_printf ( " " , Data ) ; } xil_printf ( " \n \r " ) ; }
This function displays a registerdump of the MCDP6000 device.
This function displays a registerdump of the MCDP6000 device .
/* Verify argument.*/