
G r e e n E m b e d d e d S y s t e m
G E S - 2 2 0 0 F
Appendix A Programming the Watchdog Timer
A-6
A.2 W83627UHG Watchdog Timer Initial Program
Example: Setting 10 sec. as Watchdog timeout interval
#include <stdio.h>
#include <conio.h>
#define EFER_Port 0x2E
#define Entry_Key 0x87
void main (void)
{
// Set Entry Key
outportb(EFER_Port,Entry_Key);
outportb(EFER_Port,Entry_Key);
// Enable WatchDog function
outportb(EFER_Port,0x07);
outportb(EF1,0x08);
outportb(EFER_Port,0x30);
outportb(EF1,0x01);
Summary of Contents for GES-2200F
Page 16: ...Green Embedded System G E S 2 2 0 0 F Chapter 2 Hardware Installation 2 3...
Page 19: ...Green Embedded System G E S 2 2 0 0 F Chapter 2 Hardware Installation 2 6...
Page 35: ...Green Embedded System G E S 2 2 0 0 F Chapter 3 AMI BIOS Setup 3 1 AMI Chapter 3 BIOS Setup...
Page 50: ...Green Embedded System G E S 2 2 0 0 F Appendix B I O Information B 2 B 1 I O Address Map...
Page 51: ...Green Embedded System G E S 2 2 0 0 F Appendix B I O Information B 3...