AAEON FWS-7400 User Manual
Page 81

N e t w o r k Ap p l i a n c e
F W S - 7 4 0 0
Appendix A Programming the Watchdog Timer A-6
************************************************************************************
VOID
SIOEnterMBPnPMode()
{
Switch(SIOIndex){
Case 0x2E:
IOWriteByte(SIOIndex, 0x87);
IOWriteByte(SIOIndex, 0x01);
IOWriteByte(SIOIndex, 0x55);
IOWriteByte(SIOIndex, 0x55);
Break;
Case 0x4E:
IOWriteByte(SIOIndex, 0x87);
IOWriteByte(SIOIndex, 0x01);
IOWriteByte(SIOIndex, 0x55);
IOWriteByte(SIOIndex, 0xAA);
Break;
}
}
VOID
SIOExitMBPnPMode()
{
IOWriteByte(SIOIndex, 0x02);
IOWriteByte(SIOData, 0x02);
}
VOID
SIOSelectLDN(byte LDN)
{
IOWriteByte(SIOIndex, 0x07);
// SIO LDN Register Offset = 0x07
IOWriteByte(SIOData, LDN);
}
************************************************************************************