XilinxProcessorIPLib/drivers/hdcp22_tx_dp/src/xhdcp22_tx.c
int XHdcp22Tx_Enable(XHdcp22_Tx *InstancePtr)
{
	Xil_AssertNonvoid(InstancePtr != NULL);

	InstancePtr->Info.IsEnabled = (TRUE);
	XHdcp22Cipher_Enable(&InstancePtr->Cipher);
	XTmrCtr_Stop(&InstancePtr->Timer.TmrCtr, XHDCP22_TX_TIMER_CNTR_0);
	XHdcp22Tx_LogWr(InstancePtr, XHDCP22_TX_LOG_EVT_ENABLED, 1);

	return XST_SUCCESS;
}
/*****************************************************************************/
/**
*
* This function enables the state machine and acts as a resume.
*
* @param   InstancePtr is a pointer to the XHdcp22Tx core instance.
*
* @return  XST_SUCCESS
*
* @note    None.
*
******************************************************************************/
This function enables the state machine and acts as a resume.
This function enables the state machine and acts as a resume .
int XHdcp22Tx_Enable(XHdcp22_Tx *InstancePtr)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	InstancePtr->Info.IsEnabled = (TRUE);
	XHdcp22Cipher_Enable(&InstancePtr->Cipher);
	XTmrCtr_Stop(&InstancePtr->Timer.TmrCtr, XHDCP22_TX_TIMER_CNTR_0);
	XHdcp22Tx_LogWr(InstancePtr, XHDCP22_TX_LOG_EVT_ENABLED, 1);
	return XST_SUCCESS;
}
int XHdcp22Tx_Enable ( XHdcp22_Tx * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; InstancePtr -> Info . IsEnabled = ( TRUE ) ; XHdcp22Cipher_Enable ( & InstancePtr -> Cipher ) ; XTmrCtr_Stop ( & InstancePtr -> Timer . TmrCtr , XHDCP22_TX_TIMER_CNTR_0 ) ; XHdcp22Tx_LogWr ( InstancePtr , XHDCP22_TX_LOG_EVT_ENABLED , 1 ) ; return XST_SUCCESS ; }
This function enables the state machine and acts as a resume.
This function enables the state machine and acts as a resume .