XilinxProcessorIPLib/drivers/axipmon/src/xaxipmon.c
void XAxiPmon_SetSampleInterval(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
	 */
	XAxiPmon_WriteReg(InstancePtr->Config.BaseAddress,
		XAPM_SI_LOW_OFFSET, SampleInterval);

}
/****************************************************************************/
/**
*
* This function sets the Sample Interval Register
*
* @param	InstancePtr is a pointer to the XAxiPmon instance.
* @param	SampleInterval is the Sample Interval value to be set
*
* @return	None
*
* @note		None.
*
*****************************************************************************/
This function sets the Sample Interval Register
This function sets the Sample Interval Register
void XAxiPmon_SetSampleInterval(XAxiPmon *InstancePtr, u32 SampleInterval)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(InstancePtr->Mode != XAPM_MODE_TRACE);
	XAxiPmon_WriteReg(InstancePtr->Config.BaseAddress,
		XAPM_SI_LOW_OFFSET, SampleInterval);
}
void XAxiPmon_SetSampleInterval ( XAxiPmon * InstancePtr , u32 SampleInterval ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; Xil_AssertVoid ( InstancePtr -> Mode != XAPM_MODE_TRACE ) ; XAxiPmon_WriteReg ( InstancePtr -> Config . BaseAddress , XAPM_SI_LOW_OFFSET , SampleInterval ) ; }
This function sets the Sample Interval Register
This function sets the Sample Interval Register
/*
	 * Assert the arguments.
	 */ /*
	 * Set Sample Interval Lower
	 */