ITA-460 User Manual
64
void SetWD()
{
iopl(3);
DummyPort();
inb(0x299);
wait_IBF(0x29A);
outb(0x89, 0x29A);
wait_IBF(0x29A);
outb(0x5E, 0x299);
wait_IBF(0x29A);
outb(0x00, 0x299);
wait_IBF(0x29A);
outb(0x89, 0x29A);
wait_IBF(0x29A);
outb(0x5F, 0x299);
wait_IBF(0x29A);
outb(0x64, 0x299);
}
void StartWD()
{
iopl(3);
DummyPort();
outb(0x89, 0x29A);
wait_IBF(0x29A);
outb(0x57, 0x299);
wait_IBF(0x29A);
outb(0x04, 0x299);
wait_IBF(0x29A);
outb(0x28, 0x29A);
}
void StopWD()
{
iopl(3);
DummyPort();
outb(0x29, 0x29A);
wait_IBF(0x29A);
}
int main(int argc, char** argv) {
SetWD();
while(1)
{
StartWD();
usleep(5000000);
StopWD();
}
return 0;
}
Table A.2: Watchdog (Warm Reset) Sample Code
Содержание 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 ...