Aaeon FSB-B75G Manual page 76

Full-size sbc
Table of Contents

Advertisement

F u l l - s i z e S B C
************************************************************************************
// Procedure :
void AaeonWDTEnable (Byte Timer, boolean Unit){
Byte val;
//Super I/O Entry Key
outportb(SIOIndex,0x87);
outportb(SIOIndex,0x87);
// Select Logic Device Number Register
outportb(SIOIndex,0x07);
outportb(SIOData,0x08);
// Setting WDT Operation Mode
outportb(SIOIndex,0xF5);
val = inportb((SIOData);
outportb(SIOIndex,0xF5);
outportb(SIOData, val | Unit << 3 );
// Setting WDT Counter
outportb(SIOIndex,0xF6);
outportb(SIOData,Timer);
}
************************************************************************************
Appendix A Programming the Watchdog Timer
F S B - B 7 5 G
A-8

Advertisement

Table of Contents
loading

Table of Contents