XilinxProcessorIPLib/drivers/sysmon/src/xsysmon.c
void XSysMon_DisableTempUpdate(XSysMon *InstancePtr)
{
	u32 RegVal;
	/*
	 * Assert the arguments.
	 */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);

	RegVal = (InstancePtr->Mask) & ~(XSM_CONVST_TEMPUPDT_MASK) ;

	XSysMon_WriteReg(InstancePtr->Config.BaseAddress,
		XSM_CONVST_OFFSET, RegVal);

	/* Store the written value in Mask */
	InstancePtr->Mask = RegVal;
}
/****************************************************************************/
/**
*
* This function disables the Temperature updation logic for TEMP_OUT port
*
* @param	InstancePtr is a pointer to the XSysMon instance.
*
* @return	None.
*
* @note		None
*
*****************************************************************************/
This function disables the Temperature updation logic for TEMP_OUT port
This function disables the Temperature updation logic for TEMP_OUT port
void XSysMon_DisableTempUpdate(XSysMon *InstancePtr)
{
	u32 RegVal;
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	RegVal = (InstancePtr->Mask) & ~(XSM_CONVST_TEMPUPDT_MASK) ;
	XSysMon_WriteReg(InstancePtr->Config.BaseAddress,
		XSM_CONVST_OFFSET, RegVal);
	InstancePtr->Mask = RegVal;
}
void XSysMon_DisableTempUpdate ( XSysMon * InstancePtr ) { u32 RegVal ; Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; RegVal = ( InstancePtr -> Mask ) & ~ ( XSM_CONVST_TEMPUPDT_MASK ) ; XSysMon_WriteReg ( InstancePtr -> Config . BaseAddress , XSM_CONVST_OFFSET , RegVal ) ; InstancePtr -> Mask = RegVal ; }
This function disables the Temperature updation logic for TEMP_OUT port
This function disables the Temperature updation logic for TEMP_OUT port
/*
	 * Assert the arguments.
	 */ /* Store the written value in Mask */