Utilities
67
cPCI-6965
void Get_IT8712_ID(unsigned int &ID1, unsigned int &ID2)
{
outportb(IT8712_ioPort, 0x20);
ID1 = inportb(IT87121);
outportb(IT8712_ioPort, 0x21);
ID2 = inportb(IT87121);
}
void IT8712_WDTRun(unsigned int count_value)
{
unsigned int tempCount, registerValue;
outportb(IT8712_ioPort, 0x07);
outportb(IT87121, 0x07);// Device 7
if(count_value >= 60)
{
outportb(IT8712_ioPort, 0x72);
registerValue = inportb(IT87121);
registerValue &= 0x7f;
registerValue |= 0x40; //enable WDT output
through KBRST
outportb(IT87121, registerValue); //
set WDT count is minute
tempCount = count_value / 60;
if((count_value%60) > 30)
te+;
if(tempCount > 255)
tempCount = 255;
printf("WDT timeout in %d minutes.\n",
tempCount);
}
else
{
outportb(IT8712_ioPort, 0x72);
registerValue = inportb(IT87121);
registerValue |= 0x80;
tempCount = count_value;
if(tempCount != 0)
{
Содержание cPCI-6965 Series
Страница 2: ...Revision History Revision Release Date Description of Change s 2 00 2009 04 27 Initial Release ...
Страница 6: ...vi Preface This page intentionally left blank ...
Страница 12: ...vi List of Tables This page intentionally left blank ...
Страница 14: ...viii List of Figures This page intentionally left blank ...
Страница 36: ...22 Functional Description This page intentionally left blank ...
Страница 62: ...48 Board Interfaces This page intentionally left blank ...
Страница 72: ...58 Getting Started 7 Secure the PMC assembly to the host board with the six screws provided as shown ...
Страница 76: ...62 Getting Started This page intentionally left blank ...
Страница 84: ...70 Utilities This page intentionally left blank ...
Страница 112: ...98 BIOS Setup Utility This page intentionally left blank ...