Watchdog Timer
73
M-302
Appendix A - Watchdog Timer
The following is a sample program for configuring the M-302’s
watchdog timer.
A.1 Sample Code
Unlock W83627DHG-A:
outportb(0x2E, 0x87)
;Unlock Super I/O
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-302
Страница 6: ...vi Preface This page intentionally left blank ...
Страница 10: ...x List of Figures This page intentionally left blank ...
Страница 12: ...xii List of Tables This page intentionally left blank ...
Страница 25: ...Introduction 13 M 302 1 9 Mechanical Drawing Figure 1 4 M 302 Board Dimensions Dimensions in mm ...
Страница 26: ...14 Introduction This page intentionally left blank ...
Страница 44: ...32 Getting Started 7 Close the load plate A then fasten the load lever on the retention tab B A B ...
Страница 48: ...36 Getting Started This page intentionally left blank ...
Страница 62: ...50 BIOS Setup 4 5 Integrated Peripherals On Chip IDE Device ...
Страница 78: ...66 BIOS Setup This page intentionally left blank ...
Страница 86: ...74 Watchdog Timer This page intentionally left blank ...