XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_tx.c
int XHdcp1x_TxIsEnabled(const XHdcp1x *InstancePtr)
{
	int IsEnabled = FALSE;

	/* Verify arguments. */
	Xil_AssertNonvoid(InstancePtr != NULL);

	/* Which state? */
	switch (InstancePtr->Tx.CurrentState) {
		case XHDCP1X_STATE_DISABLED:
			IsEnabled = FALSE;
			break;

		/* Otherwise */
		default:
			IsEnabled = TRUE;
			break;
	}

	return (IsEnabled);
}
/*****************************************************************************/
/**
* This function queries an interface to check if it is enabled.
*
* @param	InstancePtr is the transmitter instance.
*
* @return	Truth value indicating is enabled (true) or not (false).
*
* @note		None.
*
******************************************************************************/
This function queries an interface to check if it is enabled.
This function queries an interface to check if it is enabled .
int XHdcp1x_TxIsEnabled(const XHdcp1x *InstancePtr)
{
	int IsEnabled = FALSE;
	Xil_AssertNonvoid(InstancePtr != NULL);
	switch (InstancePtr->Tx.CurrentState) {
		case XHDCP1X_STATE_DISABLED:
			IsEnabled = FALSE;
			break;
		default:
			IsEnabled = TRUE;
			break;
	}
	return (IsEnabled);
}
int XHdcp1x_TxIsEnabled ( const XHdcp1x * InstancePtr ) { int IsEnabled = FALSE ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; switch ( InstancePtr -> Tx . CurrentState ) { case XHDCP1X_STATE_DISABLED : IsEnabled = FALSE ; break ; default : IsEnabled = TRUE ; break ; } return ( IsEnabled ) ; }
This function queries an interface to check if it is enabled.
This function queries an interface to check if it is enabled .
/* Verify arguments. */ /* Which state? */ /* Otherwise */