XilinxProcessorIPLib/drivers/v_hdmitxss/examples/xhdmi_example/PassThroughVersal/xhdmi_menu.c
static void XHdmi_DisplayHdmiphy1DebugMenu(void) {
    xil_printf("\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf("---   HDMI PHY DEBUG MENU   ---\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" TX POLARITY\r\n");
    xil_printf("  1 - Non-Inverted\r\n");
    xil_printf("  2 - Inverted\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" TX PRBS\r\n");
    xil_printf("  3 - Standard operation\r\n");
    xil_printf("  4 - PRBS-7\r\n");
    xil_printf("  5 - PRBS-9\r\n");
    xil_printf("  6 - PRBS-15\r\n");
    xil_printf("  7 - PRBS-23\r\n");
    xil_printf("  8 - PRBS-31\r\n");
    xil_printf("  9 - Toggle PRBS Force Error\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" TX VSWING (TXDIFFCTRL)\r\n");
    xil_printf("  14- Increment\r\n");
    xil_printf("  15- Decrement\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" TX POST CURSOR (32 steps)\r\n");
    xil_printf("  16- Increment\r\n");
    xil_printf("  17- Decrement\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" TX PRE CURSOR (21 steps)\r\n");
    xil_printf("  18- Increment\r\n");
    xil_printf("  19- Decrement\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" RX POLARITY\r\n");
    xil_printf("  20- Non-Inverted\r\n");
    xil_printf("  21- Inverted\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" RX PRBS\r\n");
    xil_printf("  22- Standard operation\r\n");
    xil_printf("  23- PRBS-7\r\n");
    xil_printf("  24- PRBS-9\r\n");
    xil_printf("  25- PRBS-15\r\n");
    xil_printf("  26- PRBS-23\r\n");
    xil_printf("  27- PRBS-31\r\n");
    xil_printf("  28- Reset PRBS Error Status\r\n");
    xil_printf("  29- Display PRBS Error Status\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" RX EQUALIZATION\r\n");
    xil_printf("  30- LPM\r\n");
    xil_printf("  31- DFE (default)\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" LOOPBACK\r\n");
    xil_printf("  32- Enable\r\n");
    xil_printf("  33- Disable (default)\r\n");
    xil_printf("---------------------------\r\n");
#if defined XPAR_XV_HDMITXSS1_NUM_INSTANCES || \
	defined XPAR_XV_HDMIRXSS1_NUM_INSTANCES
    xil_printf(" FORCE TXRX LINERATE\r\n");
    xil_printf("  34- 3  Gbps\r\n");
    xil_printf("  35- 6  Gbps\r\n");
    xil_printf("  36- 8  Gbps\r\n");
    xil_printf("  37- 10 Gbps\r\n");
    xil_printf("  38- 12 Gbps\r\n");
    xil_printf("---------------------------\r\n");
#endif
    xil_printf("  88- Display Register & DRP Dump\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf("  99- Exit\r\n");
    xil_printf("Enter Selection -> ");
}
/*****************************************************************************/
/**
*
* This function displays the debug menu.
*
* @param None
*
* @return None
*
*
******************************************************************************/
This function displays the debug menu.
This function displays the debug menu .
static void XHdmi_DisplayHdmiphy1DebugMenu(void) {
    xil_printf("\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf("---   HDMI PHY DEBUG MENU   ---\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" TX POLARITY\r\n");
    xil_printf("  1 - Non-Inverted\r\n");
    xil_printf("  2 - Inverted\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" TX PRBS\r\n");
    xil_printf("  3 - Standard operation\r\n");
    xil_printf("  4 - PRBS-7\r\n");
    xil_printf("  5 - PRBS-9\r\n");
    xil_printf("  6 - PRBS-15\r\n");
    xil_printf("  7 - PRBS-23\r\n");
    xil_printf("  8 - PRBS-31\r\n");
    xil_printf("  9 - Toggle PRBS Force Error\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" TX VSWING (TXDIFFCTRL)\r\n");
    xil_printf("  14- Increment\r\n");
    xil_printf("  15- Decrement\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" TX POST CURSOR (32 steps)\r\n");
    xil_printf("  16- Increment\r\n");
    xil_printf("  17- Decrement\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" TX PRE CURSOR (21 steps)\r\n");
    xil_printf("  18- Increment\r\n");
    xil_printf("  19- Decrement\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" RX POLARITY\r\n");
    xil_printf("  20- Non-Inverted\r\n");
    xil_printf("  21- Inverted\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" RX PRBS\r\n");
    xil_printf("  22- Standard operation\r\n");
    xil_printf("  23- PRBS-7\r\n");
    xil_printf("  24- PRBS-9\r\n");
    xil_printf("  25- PRBS-15\r\n");
    xil_printf("  26- PRBS-23\r\n");
    xil_printf("  27- PRBS-31\r\n");
    xil_printf("  28- Reset PRBS Error Status\r\n");
    xil_printf("  29- Display PRBS Error Status\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" RX EQUALIZATION\r\n");
    xil_printf("  30- LPM\r\n");
    xil_printf("  31- DFE (default)\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf(" LOOPBACK\r\n");
    xil_printf("  32- Enable\r\n");
    xil_printf("  33- Disable (default)\r\n");
    xil_printf("---------------------------\r\n");
#if defined XPAR_XV_HDMITXSS1_NUM_INSTANCES || \
	defined XPAR_XV_HDMIRXSS1_NUM_INSTANCES
    xil_printf(" FORCE TXRX LINERATE\r\n");
    xil_printf("  34- 3  Gbps\r\n");
    xil_printf("  35- 6  Gbps\r\n");
    xil_printf("  36- 8  Gbps\r\n");
    xil_printf("  37- 10 Gbps\r\n");
    xil_printf("  38- 12 Gbps\r\n");
    xil_printf("---------------------------\r\n");
#endif
    xil_printf("  88- Display Register & DRP Dump\r\n");
    xil_printf("---------------------------\r\n");
    xil_printf("  99- Exit\r\n");
    xil_printf("Enter Selection -> ");
}
static void XHdmi_DisplayHdmiphy1DebugMenu ( void ) { xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; #if defined XPAR_XV_HDMITXSS1_NUM_INSTANCES || defined XPAR_XV_HDMIRXSS1_NUM_INSTANCES xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; #endif xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " \r \n " ) ; xil_printf ( " " ) ; }
This function displays the debug menu.
This function displays the debug menu .