www.dfi .com
61
Appendix B Watchdog Sample Code
Appendix B
Appendix B - Watchdog Sample Code
;Software programming example:
;---------------------------------------------
;(1) Enter Super IO Confi guration mode
;---------------------------------------------
MOV DX,2EH
MOV AL,87H
OUT DX,AL
OUT DX,AL
;-------------------------------------------------------------------------------------------
;(2) Confi guration Logical Device 7, register CRF5/CRF6 (WDT Control /WDT
timer)
;-------------------------------------------------------------------------------------------
MOV DX,2EH
MOV
AL,07H
;Ready to Program Logical Device
OUT DX,AL
MOV DX,2FH
MOV
AL,07H
;Select Logical Device 7
OUT DX,AL
MOV DX,2EH
MOV
AL, F6H
;Select watchdog timer register
OUT DX,AL
MOV DX,2FH
MOV
AL,10H
;Set watchdog timer value
OUT DX,AL
MOV DX,2EH
MOV
AL, F5H
;Select watchdog Control Register
OUT DX,AL
MOV DX,2FH
MOV
AL,61H
;Set Watchdog Control Value
OUT DX,AL
;----------------------------------------------------------------
;(1) Exit extended function mode
;----------------------------------------------------------------
MOV DX,2EH
MOV AL,AAH
OUT DX,AL
Содержание SB332-C
Страница 1: ...www dfi com 1 Chapter 1 Introduction SB332 C Micro ATX Industrial Motherboard User s Manual A24310450 ...
Страница 66: ...www dfi com 66 Appendix E BIOS status code Appendix E PEI Beep Codes DXE Status Codes ...
Страница 67: ...www dfi com 67 Appendix E BIOS status code Appendix E ...