XilinxProcessorIPLib/drivers/hdcp22_rx_dp/src/xhdcp22_rx.c
void XHdcp22_timer_attach(XHdcp22_Rx *InstancePtr, XTmrCtr *TmrCtrPtr)
{
	/* Verify arguments */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(TmrCtrPtr != NULL);

	InstancePtr->TimerInst = *TmrCtrPtr;

	XTmrCtr_SetOptions(&InstancePtr->TimerInst, XHDCP22_RX_TMR_CTR_0,
			XTC_AUTO_RELOAD_OPTION);
	XTmrCtr_SetOptions(&InstancePtr->TimerInst, XHDCP22_RX_TMR_CTR_1,
			XTC_INT_MODE_OPTION | XTC_DOWN_COUNT_OPTION);

}
/*****************************************************************************/
/**
 * This function is to attache the HDCP22 timer instance to DP RX subsystem's timer.
 * For the DP design the timer is being used from the DP subsyetem.
 * So the HDCP22 timer instance will be attached in DpSs initialization.
 *
 * @param	InstancePtr is a pointer to the XHdcp22_Rx core instance.
 * @param	TmrCtrPtr is the DpRx susbsystem's timer instance.
 *
 *****************************************************************************/
This function is to attache the HDCP22 timer instance to DP RX subsystem's timer.
For the DP design the timer is being used from the DP subsyetem.
So the HDCP22 timer instance will be attached in DpSs initialization.

@param       InstancePtr is a pointer to the XHdcp22_Rx core instance.
@param       TmrCtrPtr is the DpRx susbsystem's timer instance.
This function is to attache the HDCP22 timer instance to DP RX subsystem ' s timer . For the DP design the timer is being used from the DP subsyetem . So the HDCP22 timer instance will be attached in DpSs initialization . @param InstancePtr is a pointer to the XHdcp22_Rx core instance . @param TmrCtrPtr is the DpRx susbsystem ' s timer instance .
void XHdcp22_timer_attach(XHdcp22_Rx *InstancePtr, XTmrCtr *TmrCtrPtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(TmrCtrPtr != NULL);
	InstancePtr->TimerInst = *TmrCtrPtr;
	XTmrCtr_SetOptions(&InstancePtr->TimerInst, XHDCP22_RX_TMR_CTR_0,
			XTC_AUTO_RELOAD_OPTION);
	XTmrCtr_SetOptions(&InstancePtr->TimerInst, XHDCP22_RX_TMR_CTR_1,
			XTC_INT_MODE_OPTION | XTC_DOWN_COUNT_OPTION);
}
void XHdcp22_timer_attach ( XHdcp22_Rx * InstancePtr , XTmrCtr * TmrCtrPtr ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( TmrCtrPtr != NULL ) ; InstancePtr -> TimerInst = * TmrCtrPtr ; XTmrCtr_SetOptions ( & InstancePtr -> TimerInst , XHDCP22_RX_TMR_CTR_0 , XTC_AUTO_RELOAD_OPTION ) ; XTmrCtr_SetOptions ( & InstancePtr -> TimerInst , XHDCP22_RX_TMR_CTR_1 , XTC_INT_MODE_OPTION | XTC_DOWN_COUNT_OPTION ) ; }
This function is to attache the HDCP22 timer instance to DP RX subsystem's timer.
This function is to attache the HDCP22 timer instance to DP RX subsystem ' s timer .
/* Verify arguments */