128
B
Watchdog Timer
Appendix B - Watchdog Sample Code
;Software programming example:
;---------------------------------------------
;(1) Enter Super IO Configuration mode
;---------------------------------------------
MOV DX,2EH
MOV AL,87H
OUT DX,AL
OUT DX,AL
;-------------------------------------------------------------------------------------------
;(2) Configuration 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
Содержание SB601-C
Страница 1: ...SB601 C System Board User s Manual A19410217 ...
Страница 112: ...112 4 Supported Software 7 Click Install 8 The setup program is cur rently installing the driver 9 Click Finish ...
Страница 115: ...115 4 Supported Software 4 Click Install 5 The setup program is cur rently installing the soft ware 6 Click Finish ...