CAPA55R Capa Board
Watchdog Timer
63
Appendix A
Watchdog Timer
A.1 About Watchdog Timer
After the system stops working for a while, it can be auto-reset by the watchdog timer. The
integrated watchdog timer can be set up in the system reset mode by program.
A.2 Watchdog Timer Programming
/////////////////////////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <dos.h>
#define AXIOM_WDT_TIMER
0xFA10
#define AXIOM_WDT_TRIGGER
0xFA12
void main()
{
unsigned long int DefaultTimer = 0xFFFF; // 65535 Seconds
unsigned long int CurrentWdtTimer = 0;
clrscr();
// Set WDT Timer, maximum is 65535 seconds
outportw(AXIOM_WDT_TIMER, DefaultTimer);
printf("Set WDT Timer to: %ld Seconds\n", DefaultTimer);
// 0x01: Enabled WDT, 0x00: Disabled WDT
outportb(AXIOM_WDT_TRIGGER, 0x01);
printf("Enabled WDT Timer\n");
while(1)
{
clrscr();
// Get current WDT Timer
CurrentWdtTimer = inportw(AXIOM_WDT_TIMER);
printf("Set WDT Timer to: %ld Seconds\n", DefaultTimer);
printf("Current WDT Timer: %ld Seconds\n", CurrentWdtTimer);
delay(1000);
}
}
/////////////////////////////////////////////////////////////////////////////////////////
Summary of Contents for CAPA55R
Page 1: ...CAPA55R 11th Generation Intel CoreTM i7 i5 i3 and Celeron 3 5 Board User s Manual...
Page 6: ...vi This page is intentionally left blank...
Page 10: ...CAPA55R Capa Board 4 Introduction This page is intentionally left blank...
Page 12: ...CAPA55R Capa Board 6 Board and Pin Assignments Bottom View...
Page 13: ...CAPA55R Capa Board Board and Pin Assignments 7 Side View...
Page 14: ...CAPA55R Capa Board 8 Board and Pin Assignments 2 2 Board Layout Top View Side View...
Page 15: ...CAPA55R Capa Board Board and Pin Assignments 9 Bottom View...
Page 17: ...CAPA55R Capa Board Board and Pin Assignments 11...
Page 18: ...CAPA55R Capa Board 12 Board and Pin Assignments...
Page 40: ...CAPA55R Capa Board 34 Hardware Description 3 4 I O Port Address Map...
Page 42: ...CAPA55R Capa Board 36 Hardware Description...
Page 43: ...CAPA55R Capa Board Hardware Description 37...
Page 44: ...CAPA55R Capa Board 38 Hardware Description...
Page 45: ...CAPA55R Capa Board Hardware Description 39...
Page 70: ...CAPA55R Capa Board 64 Watchdog Timer This page is intentionally left blank...
Page 81: ...CAPA55R Capa Board iAMT Settings 75 2 Select Manage Hashes to add delete and activate hash...