Sample Code - Asus AAEON FWS-7831 User Manual

Network appliance
Table of Contents

Advertisement

C.3.2

Sample Code

************************************************************************************
#define Word BTN_STS
#define Byte BTN_STS_R
************************************************************************************
GET_Value (Word IoAddr, Byte BitNum,Byte Value)
Byte
BYTE TmpValue;
TmpValue = inportb (IoAddr);
return (TmpValue & (1 << BitNum))
}
************************************************************************************
Main
VOID
(){
Byte RstBtn;
RstBtn = GET_Value (BTN_STS, BTN_STS_R);
}
************************************************************************************
Appendix C – Standard LAN Bypass Platform Setting
//This parameter is represented from Note1
//This parameter is represented from Note2
{
// Active Low
88

Advertisement

Table of Contents
loading

Table of Contents