XilinxProcessorIPLib/drivers/dp14rxss/src/xdprxss.c
void XDpRxSs_StartTimer(XDpRxSs *InstancePtr)
{
	/* Verify arguments.*/
	Xil_AssertVoid(InstancePtr);

	/* Enable the specified options for Timer Counter zero */
	XTmrCtr_SetOptions(InstancePtr->TmrCtrPtr, 0,
		XTC_DOWN_COUNT_OPTION | XTC_INT_MODE_OPTION);

	/* Set the reset value to Timer Counter zero */
	XTmrCtr_SetResetValue(InstancePtr->TmrCtrPtr, 0,
				XDPRXSS_TMRCTR_RST_VAL);

	/* Start Timer Counter 0 in count down mode */
	XTmrCtr_Start(InstancePtr->TmrCtrPtr, 0);
}
/*****************************************************************************/
/**
*
* This function starts the Timer Counter in count down, interrupt mode.
*
* @param	InstancePtr is a pointer to the XDpRxSs core instance.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function starts the Timer Counter in count down, interrupt mode.
This function starts the Timer Counter in count down interrupt mode .
void XDpRxSs_StartTimer(XDpRxSs *InstancePtr)
{
	Xil_AssertVoid(InstancePtr);
	XTmrCtr_SetOptions(InstancePtr->TmrCtrPtr, 0,
		XTC_DOWN_COUNT_OPTION | XTC_INT_MODE_OPTION);
	XTmrCtr_SetResetValue(InstancePtr->TmrCtrPtr, 0,
				XDPRXSS_TMRCTR_RST_VAL);
	XTmrCtr_Start(InstancePtr->TmrCtrPtr, 0);
}
void XDpRxSs_StartTimer ( XDpRxSs * InstancePtr ) { Xil_AssertVoid ( InstancePtr ) ; XTmrCtr_SetOptions ( InstancePtr -> TmrCtrPtr , 0 , XTC_DOWN_COUNT_OPTION | XTC_INT_MODE_OPTION ) ; XTmrCtr_SetResetValue ( InstancePtr -> TmrCtrPtr , 0 , XDPRXSS_TMRCTR_RST_VAL ) ; XTmrCtr_Start ( InstancePtr -> TmrCtrPtr , 0 ) ; }
This function starts the Timer Counter in count down, interrupt mode.
This function starts the Timer Counter in count down interrupt mode .
/* Verify arguments.*/ /* Enable the specified options for Timer Counter zero */ /* Set the reset value to Timer Counter zero */ /* Start Timer Counter 0 in count down mode */