XilinxProcessorIPLib/drivers/sysmon/src/xsysmon.c
void XSysMon_DisableUserOverTemp(XSysMon *InstancePtr)
{
	u16 OtUpper;

	/*
	 * Assert the arguments.
	 */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);

	/*
	 * Read the OT Upper Alarm Threshold Register.
	 */
	OtUpper = XSysMon_ReadReg(InstancePtr->Config.BaseAddress,
				  XSM_ATR_OT_UPPER_OFFSET);
	OtUpper &= ~(XSM_ATR_OT_UPPER_ENB_MASK);

	XSysMon_WriteReg(InstancePtr->Config.BaseAddress,
			 XSM_ATR_OT_UPPER_OFFSET, OtUpper);
}
/****************************************************************************/
/**
*
* This function disables programming of the powerdown temperature for the
* OverTemp signal in the OT Powerdown register.
*
* @param	InstancePtr is a pointer to the XSysMon instance.
*
* @return	None.
*
* @note		This API should be used only with V6 SysMon/7 Series and Zynq
* 		XADC since the upper threshold of OverTemp is programmable
*		in only V6 SysMon/7 Series and Zynq XADC.
*
*****************************************************************************/
This function disables programming of the powerdown temperature for the
OverTemp signal in the OT Powerdown register.
This function disables programming of the powerdown temperature for the OverTemp signal in the OT Powerdown register .
void XSysMon_DisableUserOverTemp(XSysMon *InstancePtr)
{
	u16 OtUpper;
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	OtUpper = XSysMon_ReadReg(InstancePtr->Config.BaseAddress,
				  XSM_ATR_OT_UPPER_OFFSET);
	OtUpper &= ~(XSM_ATR_OT_UPPER_ENB_MASK);
	XSysMon_WriteReg(InstancePtr->Config.BaseAddress,
			 XSM_ATR_OT_UPPER_OFFSET, OtUpper);
}
void XSysMon_DisableUserOverTemp ( XSysMon * InstancePtr ) { u16 OtUpper ; Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; OtUpper = XSysMon_ReadReg ( InstancePtr -> Config . BaseAddress , XSM_ATR_OT_UPPER_OFFSET ) ; OtUpper &= ~ ( XSM_ATR_OT_UPPER_ENB_MASK ) ; XSysMon_WriteReg ( InstancePtr -> Config . BaseAddress , XSM_ATR_OT_UPPER_OFFSET , OtUpper ) ; }
This function disables programming of the powerdown temperature for the
OverTemp signal in the OT Powerdown register.
This function disables programming of the powerdown temperature for the OverTemp signal in the OT Powerdown register .
/*
	 * Assert the arguments.
	 */ /*
	 * Read the OT Upper Alarm Threshold Register.
	 */