C.4 software reset button (general propose input) – AAEON FWS-7810 User Manual
Page 104

N e t w o r k Ap p l i a n c e
F W S - 7 8 1 0
Appendix C Standard LAN Bypass Platform Setting
C-12
C.4 Software Reset button (General Propose Input)
Introduction
FWS-7810 provides a general propose input button which status can get by
AAEON SDK.
Soft Reset Button Configuration
Table 2 : LAN Bypass relative register table
Function
Description
BTN_STS
Reading this register returns the pin level status
which is normal high active low.
0: Pin Level States Low.
1: Pin Level States High.
Table 1 : Soft Reset Button register mapping table
Attribute
Register(I/O)
BitNum
Value
BTN_STS
R
0xA05
(Note1)
4(Note2)
(Note3)
Sample Code
************************************************************************************
#define Word BTN_STS //This parameter is represented from Note1
#define Byte BTN_STS_R //This parameter is represented from Note2
************************************************************************************
Byte
GET_Value (Word IoAddr, Byte BitNum,Byte Value)
{ BYTE TmpValue;