beautypg.com

AAEON FSB-B75G User Manual

Page 75

background image

F u l l - s i z e S B C

F S B - B 7 5 G

Appendix A Programming the Watchdog Timer

A-7

************************************************************************************

// Procedure : AaeonWDTConfig

void AaeonWDTConfig (void){

Byte val;
//Super I/O Entry Key
outportb(SIOIndex,0x87);

outportb(SIOIndex,0x87);

//Setting WDT Pin.

outportb(SIOIndex,0x2D);

val = inportb((SIOData);
outportb(SIOIndex,0x2D);
outportb(SIOData,val & 0xFE);

// Enable WatchDog function

outportb(SIOIndex,0x07);
outportb(SIOData,0x08);
outportb(SIOIndex,0x30);
outportb(SIOData, 0x01);
}

**********************************************************************************

**