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.
Содержание ATX-6991
Страница 1: ...ATX 6991 Ver V1 1 ...
Страница 8: ...Chapter One Product Introdu ction ...
Страница 12: ...Chapter Two Hardware Function ...
Страница 36: ...Chapter Three BIOS Set up ...
Страница 41: ...ATX 6991 User s Manual 28 3 2 1 CPU Configuration ...
Страница 44: ...ATX 6991 User s Manual 31 3 2 2 Power Performance CPU Power Management Control ...
Страница 45: ...ATX 6991 User s Manual 32 ...
Страница 46: ...ATX 6991 User s Manual 33 Power Limit 3 Settings CPU Lock Configuration ...
Страница 47: ...ATX 6991 User s Manual 34 ...
Страница 48: ...ATX 6991 User s Manual 35 VR Power Delivery Design Acoustic Noise Settings Core IA VR Settings GT VR Settings ...
Страница 51: ...ATX 6991 User s Manual 38 Parallel Port Configuration ...
Страница 52: ...ATX 6991 User s Manual 39 Parallel Port Change Settings Device Mode ...
Страница 53: ...ATX 6991 User s Manual 40 ...
Страница 54: ...ATX 6991 User s Manual 41 ...
Страница 57: ...ATX 6991 User s Manual 44 Redirection COM Port Port redirection settings Resolution Redirect after POST ...
Страница 61: ...ATX 6991 User s Manual 48 3 3 Chipset Menu ...
Страница 63: ...ATX 6991 User s Manual 50 LCD Control To set LCD panel type ...
Страница 64: ...ATX 6991 User s Manual 51 ...
Страница 65: ...ATX 6991 User s Manual 52 Primary IGFX Boot Display 3 3 2 PCH IO Configuration ...
Страница 69: ...ATX 6991 User s Manual 56 Secure Boot Mode Restore Factory Keys Key Management ...
Страница 72: ...Appen dix ...
Страница 78: ......