XilinxProcessorIPLib/drivers/v_hdmitxss1/examples/hdcp_key_utility/video_fmc.c
void Vfmc_Gpio_Led_On(XVfmc_Gpio_Led Led, u8 On)
{
	u32 Data;

	Data = XGpio_DiscreteRead(&Gpio_Vfmc, 1);

	if (On == TRUE) {
		Data |= Led;
	} else {
		Data &= ~Led;
	}

	XGpio_DiscreteWrite(&Gpio_Vfmc, 1, Data);
}
/*****************************************************************************/
/**
*
* This function Turns on or off the VFMC LED.
*
* @param  Led - LED position based on XVfmc_Gpio_Led typdef.
* @param  On  - TRUE=On ; FALSE=Off.
*
* @return None.
*
* @note   LED0 - Init Done
*         LED1 - Ch4 as Data
*
******************************************************************************/
This function Turns on or off the VFMC LED.
This function Turns on or off the VFMC LED .
void Vfmc_Gpio_Led_On(XVfmc_Gpio_Led Led, u8 On)
{
	u32 Data;
	Data = XGpio_DiscreteRead(&Gpio_Vfmc, 1);
	if (On == TRUE) {
		Data |= Led;
	} else {
		Data &= ~Led;
	}
	XGpio_DiscreteWrite(&Gpio_Vfmc, 1, Data);
}
void Vfmc_Gpio_Led_On ( XVfmc_Gpio_Led Led , u8 On ) { u32 Data ; Data = XGpio_DiscreteRead ( & Gpio_Vfmc , 1 ) ; if ( On == TRUE ) { Data |= Led ; } else { Data &= ~ Led ; } XGpio_DiscreteWrite ( & Gpio_Vfmc , 1 , Data ) ; }
This function Turns on or off the VFMC LED.
This function Turns on or off the VFMC LED .