ATX-6991 User's Manual
47
Appendix
Appendix 1
:
Watchdog Programming Guide
watchdog reference code
(
C
)
-----------------------------------------------------------------------------------------------------------------------------
Set the port to realize watchdog function through writing data of ports with the
programming C language to carry out Watchdog Timer’s various functions.
Port Instructions
:
void main()
{
int indexp = 0x2e,datap = 0x2f;
unsigned char temp;
Outportb(indexp,0x87);
Outportb(indexp,0x87); //unlock
Outportb(indexp,0x2d);
temp = (unsigned char) inportb (datap);
temp &= 0xfe;
Outportb(indexp,0x2d);
Outportb(datap,temp); //set pin for watchdog
Outportb(indexp,0x07);
Outportb(datap,0x08);
Outportb(indexp,0x30);
Outportb(datap,0x01); //enable logical device
Outportb(indexp,0xf5);
Outportb(datap,0x00); //set second
Outportb(indexp,0xf6);
Outportb(datap,0x05); //set 5seconds
Outportb(indexp,0xf7);
Outportb(datap,0x00);
Outportb(indexp,0xaa); //lock
}
Watchdog can auto reboot the system when system crashed.
Summary of Contents for ATX-6991
Page 1: ...ATX 6991 Ver V1 1 ...
Page 8: ...Chapter One Product Introdu ction ...
Page 12: ...Chapter Two Hardware Function ...
Page 36: ...Chapter Three BIOS Set up ...
Page 41: ...ATX 6991 User s Manual 28 3 2 1 CPU Configuration ...
Page 44: ...ATX 6991 User s Manual 31 3 2 2 Power Performance CPU Power Management Control ...
Page 45: ...ATX 6991 User s Manual 32 ...
Page 46: ...ATX 6991 User s Manual 33 Power Limit 3 Settings CPU Lock Configuration ...
Page 47: ...ATX 6991 User s Manual 34 ...
Page 51: ...ATX 6991 User s Manual 38 Parallel Port Configuration ...
Page 52: ...ATX 6991 User s Manual 39 Parallel Port Change Settings Device Mode ...
Page 53: ...ATX 6991 User s Manual 40 ...
Page 54: ...ATX 6991 User s Manual 41 ...
Page 61: ...ATX 6991 User s Manual 48 3 3 Chipset Menu ...
Page 63: ...ATX 6991 User s Manual 50 LCD Control To set LCD panel type ...
Page 64: ...ATX 6991 User s Manual 51 ...
Page 65: ...ATX 6991 User s Manual 52 Primary IGFX Boot Display 3 3 2 PCH IO Configuration ...
Page 69: ...ATX 6991 User s Manual 56 Secure Boot Mode Restore Factory Keys Key Management ...
Page 72: ...Appen dix ...
Page 78: ......