88
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
Содержание LR905-B
Страница 1: ...LR905 B Compact Micro COM Express Board User s Manual A17400127 ...
Страница 13: ...13 2 Hardware Installation Mechanical Diagram ...
Страница 21: ...21 2 Hardware Installation Dimensions ...
Страница 22: ...22 2 Hardware Installation ...