63
ITA-460 User Manual
Ap
pe
nd
ix A
W
atc
hd
og
T
im
er
Table A.2: Watchdog (Warm Reset) Sample Code
#include <cstdlib>
#include <sys/io.h>
#include <unistd.h>
#include <iostream>
using namespace std;
int OBF=0x01, IBF=0x02
int wait_OBF(int Port)
{
int icount;
for(icount=0;icount<0xFF;+)
{
int iValue = inb(Port);
if((iValue&OBF) == 0x01)
return true;
usleep(1000);
}
count<< “Wait_OBF failed\n”;
count.flush();
return false;
}
int wait_IBF(int Port)
{
int icount;
for(icount=0;icount<0xFF;+)
{
int iValue = inb(Port);
if((iValue&IBF) == 0x00)
return true;
usleep(1000);
}
cout << “wait_IBF failed\n”;
cout.flush();
return false;
}
void DummyPort()
{
int iRet = inb(0x299);
wait_IBF(0x29A);
}
Содержание ITA-460 Series
Страница 8: ...ITA 460 User Manual viii ...
Страница 12: ...ITA 460 User Manual xii ...
Страница 13: ...Chapter 1 1 Overview Introduction Specifications Power Information Environmental Specifications System Diagram ...
Страница 18: ...ITA 460 User Manual 6 ...
Страница 19: ...Chapter 2 2 H W Installation Introduction Jumpers and Connectors I O Connectors ...
Страница 27: ...Chapter 3 3 System Setup mSATA Installation ITA EM Module Installation RTC Battery Installation ...
Страница 36: ...ITA 460 User Manual 24 ...
Страница 37: ...Chapter 4 4 BIOS Settings ...
Страница 53: ...41 ITA 460 User Manual Chapter 4 BIOS Settings 4 4 13 Intel TXT Information Figure 4 20 Intel TXT Information ...
Страница 71: ...Chapter 5 5 Driver Installation Introduction Windows Driver Setup ...
Страница 73: ...Appendix A A Watchdog Timer ...
Страница 77: ...Appendix B B BSMI RoHS Declaration ...
Страница 79: ...Appendix C C Chinese Language Safety Instructions and Battery Information ...
Страница 81: ...69 ITA 460 User Manual Appendix C Chinese Language Safety Instructions and Battery Information ...