102
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
Содержание CP900-B
Страница 1: ...CP900 B COM Express Board User s Manual A13830124...
Страница 48: ...48 3 BIOS Setup Device Mode Selects the IR mode of the I O device...
Страница 67: ...67 4 Supported Software Drivers for Windows XP System...
Страница 69: ...69 4 Supported Software 3 Click Exit...
Страница 82: ...82 4 Supported Software 4 Click Install to begin the installation 5 After completing installa tion click Finish...
Страница 86: ...86 4 Supported Software 4 After completing instal lation click Finish to exit setup...