
E m b e d d e d C o n t r o l l e r
A E C - 6 8 7 2
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);
Содержание AEC-6872
Страница 10: ...Embedded Controller A E C 6 8 7 2 Chapter 1 General Information 1 1 General Chapter 1 Information ...
Страница 16: ...Embedded Controller A E C 6 8 7 2 Chapter 1 General Information 1 7 ...
Страница 17: ...Embedded Controller A E C 6 8 7 2 Chapter 2 Hardware Installation 2 1 Hardware Installation Chapter 2 ...
Страница 18: ...Embedded Controller A E C 6 8 7 2 Chapter 2 Hardware Installation 2 2 2 1 Dimension ...
Страница 37: ...Embedded Controller A E C 6 8 7 2 Chapter 3 AMI BIOS Setup 3 1 AMI Chapter 3 BIOS Setup ...
Страница 40: ...Embedded Controller A E C 6 8 7 2 Chapter 4 Driver Installation 4 1 Driver Chapter 4 Installation ...
Страница 51: ...Embedded Controller A E C 6 8 7 2 Appendix B I O Information B 1 I O Information Appendix B ...
Страница 52: ...Embedded Controller A E C 6 8 7 2 Appendix B I O Information B 2 B 1 I O Address Map ...
Страница 53: ...Embedded Controller A E C 6 8 7 2 Appendix B I O Information B 3 ...
Страница 54: ...Embedded Controller A E C 6 8 7 2 Appendix B I O Information B 4 B 2 Memory Address Map ...