EasyManuals Logo
Home>MSI>Motherboard>MS-98F5

MSI MS-98F5 User Manual

MSI MS-98F5
52 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #48 background imageLoading...
Page #48 background image
A-2
WDT & GPIO Industrial Computer Board
WDT Sample Code
SIO_INDEX_Port equ 04Eh
SIO_DATA_Port equ 04Fh
SIO_UnLock_Value equ 087h
SIO_Lock_Value equ 0AAh
WatchDog_LDN equ 007h
WDT_UNIT equ 60h ;60h=second, 68h=minute, 40h=Disabled Watchdog timer
WDT_Timer equ 30 ;ex. 30 seconds
Sample code:
;Enable config mode
mov dx, SIO_INDEX_Port
mov al, SIO_UnLock_Value
out dx, al
jmp short $+2 ;Io_delay
jmp short $+2 ;Io_delay
out dx, al
;Change to WDT
mov dx, SIO_INDEX_Port
mov al, 07h
out dx, al
mov dx, SIO_DATA_Port
mov al, WatchDog_LDN
out dx, al
;Acive WDT
mov dx, SIO_INDEX_Port
mov al, 30h
out dx, al
mov dx, SIO_DATA_Port
in al, dx
or al, 01h
out dx, al
;set timer
mov dx, SIO_INDEX_Port
mov al, 0F6h
out dx, al
mov dx, SIO_DATA_Port
m
ov al, WDT_Timer
out dx, al
;set UINT
mov dx, SIO_INDEX_Port
mov al, 0F5h
out dx, al
mov dx, SIO_DATA_Port
m
ov al, WDT_UNIT
out dx, al
;enable reset
mov dx, SIO_INDEX_Port
mov al, 0FAh
out dx, al
mov dx, SIO_DATA_Port
in al, dx
or al, 01h
out dx, al
;close config mode
mov dx, SIO_INDEX_Port
mov al, SIO_Lock_Value
out dx, al

Table of Contents

Other manuals for MSI MS-98F5

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the MSI MS-98F5 and is the answer not in the manual?

MSI MS-98F5 Specifications

General IconGeneral
BrandMSI
ModelMS-98F5
CategoryMotherboard
LanguageEnglish

Related product manuals