Asus AAEON FWS-2272 User Manual page 91

Network appliance
Table of Contents

Advertisement

Table3: LAN Bypass register mapping table
LAN_ID3
LAN_ID2
LAN_ID1
LAN_ID0
PWR_ON
PWR_OFF
WDT_EN
ACT_EN
Sample Code
*****************************************************************************************
#define Byte CPLD_SLAVE_ADDRESS //This parameter is represented from Note1
#define Byte OFFSET
*****************************************************************************************
// Select Lan Pair
BYTE bLanSel = LAN_PAIR;
BYTE bData = SmbusReadByte(CPLD_SLAVE_ADDRESS, OFFSET);
// Set Reg01h bit3
if(bLanSel & 0x08)
bData = bData | 0x08;
else
bData = bData & 0xF7;
// Set Reg01h bit2
if(bLanSel & 0x04)
bData = bData | 0x04;
else
bData = bData & 0xFB;
// Set Reg01h bit1
if(bLanSel & 0x02)
bData = bData | 0x02;
else
bData = bData & 0xFD;
Appendix C – Standard Firewall Platform Setting
CPLD Slave Address 0x90 (Note1)
Attribute
Offset(SMBUS)
R/W
0x01(Note2)
R/W
0x01(Note2)
R/W
0x01(Note2)
R/W
0x01(Note2)
R/W
0x01(Note2)
R/W
0x01(Note2)
R/W
0x01(Note2)
R/W
0x01(Note2)
//This parameter is represented from Note2
BitNum
Value
3
(Table 1)
2
(Table 1)
1
(Table 1)
0
(Table 1)
6
(Table 2)
5
(Table 2)
4
(Table 2)
7
(Table 2)
79

Advertisement

Table of Contents
loading

Table of Contents