XilinxProcessorIPLib/drivers/hdcp22_rx/src/xhdcp22_rx.c
static void XHdcp22Rx_TimerHandler(void *CallbackRef, u8 TmrCntNumber)
{
	XHdcp22_Rx *InstancePtr = (XHdcp22_Rx *)CallbackRef;

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

	if (TmrCntNumber == XHDCP22_RX_TMR_CTR_0) {
		return;
	}

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

	/* Log error event */
	XHdcp22Rx_LogWr(InstancePtr, XHDCP22_RX_LOG_EVT_DEBUG, XHDCP22_RX_LOG_DEBUG_TIMER_EXPIRED);
}
/*****************************************************************************/
/**
*
* This function handles timer interrupts.
*
* @param  CallbackRef refers to a XHdcp22_Rx structure
* @param  TmrCntNumber the number of used timer.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function handles timer interrupts.
This function handles timer interrupts .
static void XHdcp22Rx_TimerHandler(void *CallbackRef, u8 TmrCntNumber)
{
	XHdcp22_Rx *InstancePtr = (XHdcp22_Rx *)CallbackRef;
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	if (TmrCntNumber == XHDCP22_RX_TMR_CTR_0) {
		return;
	}
	InstancePtr->Info.TimerExpired = (TRUE);
	XHdcp22Rx_LogWr(InstancePtr, XHDCP22_RX_LOG_EVT_DEBUG, XHDCP22_RX_LOG_DEBUG_TIMER_EXPIRED);
}
static void XHdcp22Rx_TimerHandler ( void * CallbackRef , u8 TmrCntNumber ) { XHdcp22_Rx * InstancePtr = ( XHdcp22_Rx * ) CallbackRef ; Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; if ( TmrCntNumber == XHDCP22_RX_TMR_CTR_0 ) { return ; } InstancePtr -> Info . TimerExpired = ( TRUE ) ; XHdcp22Rx_LogWr ( InstancePtr , XHDCP22_RX_LOG_EVT_DEBUG , XHDCP22_RX_LOG_DEBUG_TIMER_EXPIRED ) ; }
This function handles timer interrupts.
This function handles timer interrupts .
/* Verify arguments */ /* Set timer expired signaling flag */ /* Log error event */