Asus AAEON FWS-2365 User Manual page 92

Desktop network appliance
Table of Contents

Advertisement

else
bData = bData & 0xFE;
// Power On Action (Reg01h bit6)
if(SET_PASS_THROUGH)
bData = bData & 0xBF;
else
bData = bData | 0x40;
// Power Off Action (Reg01h bit5)
if(SET_PASS_THROUGH)
bData = bData & 0xDF;
else
bData = bData | 0x20;
// WDT Action (Reg01h bit4)
if(SET_WDT_RESET) // Reset
bData = bData & 0xEF;
else
bData = bData | 0x10;
SmbusWriteByte(CPLD_SLAVE_ADDRESS, OFFSET, bData);
// Apply Settings (Reg01h bit7)
bData = SmbusReadByte(CPLD_SLAVE_ADDRESS, OFFSET);
SmbusWriteByte(CPLD_SLAVE_ADDRESS, OFFSET, bData & 0x7F);
Sleep(500);
bData = SmbusReadByte(CPLD_SLAVE_ADDRESS, OFFSET);
Appendix B – Hardware and LAN Bypass Programming
// Pass Through
// Bypass
// Pass Through
// Bypass
// Bypass
92

Advertisement

Table of Contents
loading

Table of Contents