Software Reset Button (General Propose Input) - Asus Aaeon FWS-7821 User Manual

Hide thumbs Also See for Aaeon FWS-7821:
Table of Contents

Advertisement

C.3

Software Reset Button (General Propose Input)

Table 1: Soft Reset Button register mapping table
Attribute
BTN_STS
Table 2: LAN Bypass register table
Function
Reading this register returns the pin level status which is normal
high active low.
BTN_STS
0: Pin Level States Low.
1: Pin Level States High.
Sample Code:
************************************************************************************
#define Word
BTN_STS
#define Byte BTN_STS_R
************************************************************************************
Byte GET_Value (Word IoAddr, Byte BitNum,Byte Value){
BYTE TmpValue;
TmpValue = inportb (IoAddr);
return (TmpValue & (1 << BitNum))
}
************************************************************************************
VOID Main(){
Byte RstBtn;
RstBtn = GET_Value (BTN_STS, BTN_STS_R); // Active Low
}
************************************************************************************
Appendix C – Standard Firewall Platform Setting
Register(I/O)
R
0xA05(Note1)
//This parameter is represented from Note1
//This parameter is represented from Note2
BitNum
4(Note2)
Description
Value
(Note3)
122

Advertisement

Table of Contents
loading

Table of Contents