Instruction Manual
Embedded Controller AEC-6940
Appendix A Programming the Watchdog Timer A-6
outportb(SMBus_Port+0x04,I2C_Addr);
delay(10);
Chk_Ready();
outportb(SMBus_Port+0x03,0x37);
delay(10);
outportb(SMBus_Port+0x05,0x05);
delay(10);
outportb(SMBus_Port+0x02,0x48);
delay(10);
Chk_Ready();
//device ID(smbus):6Eh,index:36h data:30h //Enable Watchdog Timer 2 and
output //a pulse when timeout.
outportb(SMBus_Port+0x04,I2C_Addr);
delay(10);
Chk_Ready();
outportb(SMBus_Port+0x03,0x36);
delay(10);
outportb(SMBus_Port+0x05,0x30);
delay(10);
outportb(SMBus_Port+0x02,0x48);
delay(10);
Chk_Ready();
}
void Chk_Ready()