XilinxProcessorIPLib/drivers/dp14txss/examples/xdptxss_debug_example.c
void DpTxSs_EdidBaseVPId(u8 *EdidRaw)
{
	char ManName[4];

	/* Get manufacturer name as specified in the vendor and product ID */
	XVidC_EdidGetManName(EdidRaw, ManName);

	/* Vendor and product identification. */
	xil_printf("Vendor and product identification:\n\r");
	xil_printf("ID manufacturer name:%s\n\r", ManName);
	xil_printf("ID product code:0x%04x\n\r",
				XVidC_EdidGetIdProdCode(EdidRaw));
	xil_printf("ID serial number:0x%08lx\n\r",
				XVidC_EdidGetIdSn(EdidRaw));
	if (XVidC_EdidIsYearModel(EdidRaw)) {
		xil_printf("Model year:%d\n\r",
				XVidC_EdidGetModManYear(EdidRaw));
	}
	else if (XVidC_EdidGetManWeek(EdidRaw) == 0x00) {
		xil_printf("Manufactured:Year = %d ; Week N/A\n\r",
				XVidC_EdidGetModManYear(EdidRaw));
	}
	else {
		xil_printf("Manufactured:Year = %d ; Week = %d\n\r",
				XVidC_EdidGetModManYear(EdidRaw),
				XVidC_EdidGetManWeek(EdidRaw));
	}
}
/*****************************************************************************/
/**
*
* This function prints RX device identification data.
*
* @param	EdidRaw is a pointer to u8 variable that will be used for
*		parsing EDID blocks.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function prints RX device identification data.
This function prints RX device identification data .
void DpTxSs_EdidBaseVPId(u8 *EdidRaw)
{
	char ManName[4];
	XVidC_EdidGetManName(EdidRaw, ManName);
	xil_printf("Vendor and product identification:\n\r");
	xil_printf("ID manufacturer name:%s\n\r", ManName);
	xil_printf("ID product code:0x%04x\n\r",
				XVidC_EdidGetIdProdCode(EdidRaw));
	xil_printf("ID serial number:0x%08lx\n\r",
				XVidC_EdidGetIdSn(EdidRaw));
	if (XVidC_EdidIsYearModel(EdidRaw)) {
		xil_printf("Model year:%d\n\r",
				XVidC_EdidGetModManYear(EdidRaw));
	}
	else if (XVidC_EdidGetManWeek(EdidRaw) == 0x00) {
		xil_printf("Manufactured:Year = %d ; Week N/A\n\r",
				XVidC_EdidGetModManYear(EdidRaw));
	}
	else {
		xil_printf("Manufactured:Year = %d ; Week = %d\n\r",
				XVidC_EdidGetModManYear(EdidRaw),
				XVidC_EdidGetManWeek(EdidRaw));
	}
}
void DpTxSs_EdidBaseVPId ( u8 * EdidRaw ) { char ManName [ 4 ] ; XVidC_EdidGetManName ( EdidRaw , ManName ) ; xil_printf ( " \n \r " ) ; xil_printf ( " \n \r " , ManName ) ; xil_printf ( " \n \r " , XVidC_EdidGetIdProdCode ( EdidRaw ) ) ; xil_printf ( " \n \r " , XVidC_EdidGetIdSn ( EdidRaw ) ) ; if ( XVidC_EdidIsYearModel ( EdidRaw ) ) { xil_printf ( " \n \r " , XVidC_EdidGetModManYear ( EdidRaw ) ) ; } else if ( XVidC_EdidGetManWeek ( EdidRaw ) == 0x00 ) { xil_printf ( " \n \r " , XVidC_EdidGetModManYear ( EdidRaw ) ) ; } else { xil_printf ( " \n \r " , XVidC_EdidGetModManYear ( EdidRaw ) , XVidC_EdidGetManWeek ( EdidRaw ) ) ; } }
This function prints RX device identification data.
This function prints RX device identification data .
/* Get manufacturer name as specified in the vendor and product ID */ /* Vendor and product identification. */