68
Utilities
For a detailed programming sample, refer to the sample code pro-
vided on the ADLINK All-In-One CD. You can find it in the following
directory:
X:\cPCI\cPCI-6210\WDT
.
Sample Code
The sample program written in C shown below offers an interactive
way to test the Watchdog Timer under DOS.
#include<stdio.h>
#include<dos.h>
#define IT8783_ID1 0x87
#define IT8783_ID2 0x83
static unsigned int IT8783_ioPort = 0x2e;
//Check index port
void Enter_IT8783_Config(unsigned int flag)
{
if(flag) IT8783_ioPort = 0x4e;
switch(IT8783_ioPort)
{
case 0x2E: //Address port = 0x2E, enter
keys = 0x87, 0x01, 0x55, 0x55
outportb(0x2E, 0x87);
outportb(0x2E, 0x01);
outportb(0x2E, 0x55);
outportb(0x2E, 0x55);
break;
case 0x4E: //Address port = 0x4E, enter
keys = 0x87, 0x01, 0x55, 0xAA
outportb(0x4E, 0x87);
outportb(0x4E, 0x01);
outportb(0x4E, 0x55);
outportb(0x4E, 0xAA);
break;
default:
break;
}
}
Содержание cPCI-6210 Series
Страница 6: ...vi Preface This page intentionally left blank ...
Страница 10: ...x Table of Contents This page intentionally left blank ...
Страница 12: ...xii List of Tables This page intentionally left blank ...
Страница 14: ...xiv List of Figures This page intentionally left blank ...
Страница 30: ...16 Specifications This page intentionally left blank ...
Страница 76: ...62 Getting Started This page intentionally left blank ...
Страница 80: ...66 Driver Installation This page intentionally left blank ...
Страница 94: ...80 Utilities 4 After the update process is complete system will auto matically reboot ...
Страница 110: ...96 BIOS Setup Utility 8 3 9 H W Monitor ...
Страница 124: ...110 BIOS Setup Utility This page intentionally left blank ...
Страница 136: ...122 IPMI User Guide This page intentionally left blank ...