XilinxProcessorIPLib/drivers/axipmon/src/xaxipmon.c
void XAxiPmon_GetSampleInterval(XAxiPmon *InstancePtr, u32 *SampleInterval)
{
	/*
	 * Assert the arguments.
	 */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(InstancePtr->Mode != XAPM_MODE_TRACE);

	/*
	 * Set Sample Interval Lower
	 */
	*SampleInterval = XAxiPmon_ReadReg(InstancePtr->Config.BaseAddress,
				XAPM_SI_LOW_OFFSET);

}
/****************************************************************************/
/**
*
* This function returns the contents of Sample Interval Register
*
* @param	InstancePtr is a pointer to the XAxiPmon instance.
* @param	SampleInterval is a pointer where the Sample Interval
*		Counter value is returned.
*
* @return 	None.
*
* @note		None.
*
******************************************************************************/
This function returns the contents of Sample Interval Register
This function returns the contents of Sample Interval Register
void XAxiPmon_GetSampleInterval(XAxiPmon *InstancePtr, u32 *SampleInterval)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(InstancePtr->Mode != XAPM_MODE_TRACE);
	*SampleInterval = XAxiPmon_ReadReg(InstancePtr->Config.BaseAddress,
				XAPM_SI_LOW_OFFSET);
}
void XAxiPmon_GetSampleInterval ( XAxiPmon * InstancePtr , u32 * SampleInterval ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; Xil_AssertVoid ( InstancePtr -> Mode != XAPM_MODE_TRACE ) ; * SampleInterval = XAxiPmon_ReadReg ( InstancePtr -> Config . BaseAddress , XAPM_SI_LOW_OFFSET ) ; }
This function returns the contents of Sample Interval Register
This function returns the contents of Sample Interval Register
/*
	 * Assert the arguments.
	 */ /*
	 * Set Sample Interval Lower
	 */