XilinxProcessorIPLib/drivers/hdcp22_tx_dp/src/xhdcp22_tx.c
void XHdcp22Tx_timer_attach(XHdcp22_Tx *InstancePtr, XTmrCtr *TmrCtrPtr)
{
	/* Verify arguments */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(TmrCtrPtr != NULL);

	InstancePtr->Timer.TmrCtr = *TmrCtrPtr;

	XTmrCtr_SetOptions(&InstancePtr->Timer.TmrCtr, XHDCP22_TX_TIMER_CNTR_0,
			XTC_INT_MODE_OPTION | XTC_DOWN_COUNT_OPTION);
	XTmrCtr_SetOptions(&InstancePtr->Timer.TmrCtr, XHDCP22_TX_TIMER_CNTR_1,
			XTC_AUTO_RELOAD_OPTION);
}
/*****************************************************************************/
/**
 * This function is to attache the HDCP22 timer instance to DP TX
 * subsystem's timer. For the DP design the timer is being used
 * from the DP TX subsystem. So the HDCP22 timer instance will be
 * attached in DpTxSs initialization.
 *
 * @param	InstancePtr is a pointer to the XHdcp22_Tx core instance.
 * @param	TmrCtrPtr is the DpTx susbsystem's timer instance.
 *
 * @note	For the DP design the timer is being used from the DP TX subsystem.
 * 			So the HDCP22 timer instance will be attached in DpTxSs
 * 			initialization.
 *****************************************************************************/
This function is to attache the HDCP22 timer instance to DP TX
subsystem's timer. For the DP design the timer is being used
from the DP TX subsystem. So the HDCP22 timer instance will be
attached in DpTxSs initialization.

@param       InstancePtr is a pointer to the XHdcp22_Tx core instance.
@param       TmrCtrPtr is the DpTx susbsystem's timer instance.

@note        For the DP design the timer is being used from the DP TX subsystem.
So the HDCP22 timer instance will be attached in DpTxSs
initialization.
This function is to attache the HDCP22 timer instance to DP TX subsystem ' s timer . For the DP design the timer is being used from the DP TX subsystem . So the HDCP22 timer instance will be attached in DpTxSs initialization . @param InstancePtr is a pointer to the XHdcp22_Tx core instance . @param TmrCtrPtr is the DpTx susbsystem ' s timer instance . @note For the DP design the timer is being used from the DP TX subsystem . So the HDCP22 timer instance will be attached in DpTxSs initialization .
void XHdcp22Tx_timer_attach(XHdcp22_Tx *InstancePtr, XTmrCtr *TmrCtrPtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(TmrCtrPtr != NULL);
	InstancePtr->Timer.TmrCtr = *TmrCtrPtr;
	XTmrCtr_SetOptions(&InstancePtr->Timer.TmrCtr, XHDCP22_TX_TIMER_CNTR_0,
			XTC_INT_MODE_OPTION | XTC_DOWN_COUNT_OPTION);
	XTmrCtr_SetOptions(&InstancePtr->Timer.TmrCtr, XHDCP22_TX_TIMER_CNTR_1,
			XTC_AUTO_RELOAD_OPTION);
}
void XHdcp22Tx_timer_attach ( XHdcp22_Tx * InstancePtr , XTmrCtr * TmrCtrPtr ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( TmrCtrPtr != NULL ) ; InstancePtr -> Timer . TmrCtr = * TmrCtrPtr ; XTmrCtr_SetOptions ( & InstancePtr -> Timer . TmrCtr , XHDCP22_TX_TIMER_CNTR_0 , XTC_INT_MODE_OPTION | XTC_DOWN_COUNT_OPTION ) ; XTmrCtr_SetOptions ( & InstancePtr -> Timer . TmrCtr , XHDCP22_TX_TIMER_CNTR_1 , XTC_AUTO_RELOAD_OPTION ) ; }
This function is to attache the HDCP22 timer instance to DP TX
 subsystem's timer.
This function is to attache the HDCP22 timer instance to DP TX subsystem ' s timer .
/* Verify arguments */