XilinxProcessorIPLib/drivers/hdcp22_rx_dp/src/xhdcp22_rx.c
u32 XHdcp22Rx_LogGetTimeUSecs(XHdcp22_Rx *InstancePtr)
{
	/* Verify arguments. */
	Xil_AssertNonvoid(InstancePtr != NULL);

	u32 PeriodUsec = InstancePtr->TimerInst.Config.SysClockFreqHz / 1000000;
	return (XTmrCtr_GetValue(&InstancePtr->TimerInst, XHDCP22_RX_TMR_CTR_0) / PeriodUsec);
}
/*****************************************************************************/
/**
* This function returns the time expired since a log reset was called.
*
* @param  InstancePtr is a pointer to the XHdcp22_Rx core instance.
*
* @return The expired logging time in useconds.
*
* @note   None.
******************************************************************************/
This function returns the time expired since a log reset was called.
This function returns the time expired since a log reset was called .
u32 XHdcp22Rx_LogGetTimeUSecs(XHdcp22_Rx *InstancePtr)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	u32 PeriodUsec = InstancePtr->TimerInst.Config.SysClockFreqHz / 1000000;
	return (XTmrCtr_GetValue(&InstancePtr->TimerInst, XHDCP22_RX_TMR_CTR_0) / PeriodUsec);
}
u32 XHdcp22Rx_LogGetTimeUSecs ( XHdcp22_Rx * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; u32 PeriodUsec = InstancePtr -> TimerInst . Config . SysClockFreqHz / 1000000 ; return ( XTmrCtr_GetValue ( & InstancePtr -> TimerInst , XHDCP22_RX_TMR_CTR_0 ) / PeriodUsec ) ; }
This function returns the time expired since a log reset was called.
This function returns the time expired since a log reset was called .
/* Verify arguments. */