
MITX-6891
Mini-ITX Motherboard Based on Intel G45 Chipset
62
===========================================================
watchdog reference code
(c++ language)
:
----------------------------------------------------------------------------------------------------
outputb (0x2e, 0x87)
outputb (0x2e, 0x87) // Open SUPER IO register
outputb (0x2e, 0x2B)
outputb (0x2f, 0xE0)
//bit4=0 ,set pin as watchdog func
outputb (0x2E, 0x07)
outputb (0x2F, 0x08) //select logical device
outputb (0x2e, 0x30)
outputb (0x2f, 0x01)
//active the device
outputb (0x2e, 0xF5)
outputb (0x2f, 0x00)
// Set timer units as second /
(
Set timer units as minute: outputb (0x2f,
0x08)
)
outputb (0x2e, 0xF6)
outputb (0x2f, 0xIE)
// Set Timer Count to 30 sec
outputb (0x2E, 0xAA) // locked register
//------- code end ---------------------------------
Summary of Contents for MITX-6891
Page 4: ...Chapter 1 General Information ...
Page 8: ...Chapter 2 Installation Instructions ...
Page 37: ...Chapter 3 BIOS Setup ...
Page 66: ...Appendix ...
Page 74: ......