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}
Summary of Contents for M-322
Page 6: ...vi Preface This page intentionally left blank ...
Page 9: ...Table of Contents ix M 322 Important Safety Instructions 77 Getting Service 79 ...
Page 10: ...x Table of Contents This page intentionally left blank ...
Page 12: ...xii List of Figures This page intentionally left blank ...
Page 14: ...xiv List of Tables This page intentionally left blank ...
Page 26: ...12 Introduction Figure 1 5 M 322 I O Shield Dimensions Dimensions in mm ...
Page 40: ...26 Connectors Jumpers This page intentionally left blank ...
Page 58: ...44 BIOS Setup AHCI Settings System Information ...
Page 80: ...66 Watchdog Timer This page intentionally left blank ...