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

	/*
	 * Read the Alarm Output Register and return the value.
	 */
	return (XSysMon_ReadReg(InstancePtr->Config.BaseAddress,
		XSM_AOR_OFFSET) & XSM_AOR_ALARM_ALL_MASK);
}
/****************************************************************************/
/**
*
* This function reads the contents of Alarm Output Register.
*
* @param	InstancePtr is a pointer to the XSysMon instance.
*
* @return	A 32-bit value read from the Alarm Output Register.
*		Use the XSM_AOR_*_MASK constants defined in xsysmon_hw.h to
*		interpret the value.
*
* @note		None.
*
*****************************************************************************/
This function reads the contents of Alarm Output Register.
This function reads the contents of Alarm Output Register .
u32 XSysMon_GetAlarmOutputStatus(XSysMon *InstancePtr)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	return (XSysMon_ReadReg(InstancePtr->Config.BaseAddress,
		XSM_AOR_OFFSET) & XSM_AOR_ALARM_ALL_MASK);
}
u32 XSysMon_GetAlarmOutputStatus ( XSysMon * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; return ( XSysMon_ReadReg ( InstancePtr -> Config . BaseAddress , XSM_AOR_OFFSET ) & XSM_AOR_ALARM_ALL_MASK ) ; }
This function reads the contents of Alarm Output Register.
This function reads the contents of Alarm Output Register .
/*
	 * Assert the arguments.
	 */ /*
	 * Read the Alarm Output Register and return the value.
	 */