XilinxProcessorIPLib/drivers/hdcp22_tx_dp/src/xhdcp22_tx.c
void XHdcp22Tx_TimerHandler(void *CallbackRef, u8 TmrCntNumber)
{
	XHdcp22_Tx *InstancePtr = (XHdcp22_Tx *)CallbackRef;

	/* Verify arguments */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);

	if (TmrCntNumber == XHDCP22_TX_TIMER_CNTR_1) {
		return;
	}

	/* Set timer expired signaling flag */
	InstancePtr->Timer.TimerExpired = (TRUE);

	if (InstancePtr->Info.IsEnabled)
		XHdcp22Tx_ReadRxStatus(InstancePtr);
}
/*****************************************************************************/
/**
*
* This function handles timer interrupts.
*
* @param  CallbackRef refers to a XHdcp22_Tx structure
* @param  TmrCntNumber the number of used timer.
*
* @return None.
*
* @note   For dp design, this will be called form the Tx subsystem's
* 		  timer handler so it should be a public function.
*
******************************************************************************/
This function handles timer interrupts.
This function handles timer interrupts .
void XHdcp22Tx_TimerHandler(void *CallbackRef, u8 TmrCntNumber)
{
	XHdcp22_Tx *InstancePtr = (XHdcp22_Tx *)CallbackRef;
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	if (TmrCntNumber == XHDCP22_TX_TIMER_CNTR_1) {
		return;
	}
	InstancePtr->Timer.TimerExpired = (TRUE);
	if (InstancePtr->Info.IsEnabled)
		XHdcp22Tx_ReadRxStatus(InstancePtr);
}
void XHdcp22Tx_TimerHandler ( void * CallbackRef , u8 TmrCntNumber ) { XHdcp22_Tx * InstancePtr = ( XHdcp22_Tx * ) CallbackRef ; Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; if ( TmrCntNumber == XHDCP22_TX_TIMER_CNTR_1 ) { return ; } InstancePtr -> Timer . TimerExpired = ( TRUE ) ; if ( InstancePtr -> Info . IsEnabled ) XHdcp22Tx_ReadRxStatus ( InstancePtr ) ; }
This function handles timer interrupts.
This function handles timer interrupts .
/* Verify arguments */ /* Set timer expired signaling flag */