Watchdog Timer
65
M-322
Appendix A - Watchdog Timer
The following is a sample program for configuring the M-322’s
watchdog timer.
A.1 Sample Code
Unlock W83627DHG-A:
outportb(0x2E, 0x87)
;Unlock Super I/O
Select Logical Device:
outportb(0x2E, 0x07)
;Select device number register
outportb(0x2F, 0x08)
;Set to Logical Device 8
Activate WDT:
outportb(0x2E, 0x30)
;Select WDTO# activate register
outportb(0x2F, 0x01)
;Enable watchdog
Set Seconds or Minutes:
outportb(0x2E, 0xF5)
;Select WDTO# control register
outportb(0x2F, mode)
;where mode=0x00(Sec) or 0x08(Min)
Set base timer:
outportb(0x2E, 0xF6)
;Select WDTO# counter register
outportb(0x2F, timeout) ;where timeout=0x00~0xFF
Reset timeout counter:
outportb(0x2E, 0xF6)
;Select WDTO# counter register
outportb(0x2F, timeout) ;where timeout=0x00~0xFF}
Содержание M-322
Страница 6: ...vi Preface This page intentionally left blank ...
Страница 9: ...Table of Contents ix M 322 Important Safety Instructions 77 Getting Service 79 ...
Страница 10: ...x Table of Contents This page intentionally left blank ...
Страница 12: ...xii List of Figures This page intentionally left blank ...
Страница 14: ...xiv List of Tables This page intentionally left blank ...
Страница 25: ...Introduction 11 M 322 1 9 Mechanical Drawings Figure 1 4 M 322 Board Dimensions Dimensions in mm ...
Страница 26: ...12 Introduction Figure 1 5 M 322 I O Shield Dimensions Dimensions in mm ...
Страница 40: ...26 Connectors Jumpers This page intentionally left blank ...
Страница 44: ...30 Getting Started 7 Close the load plate A then fasten the load lever on the retention tab B A B ...
Страница 58: ...44 BIOS Setup AHCI Settings System Information ...
Страница 80: ...66 Watchdog Timer This page intentionally left blank ...