MSI MS-98H6 Manual page 48

Industrial computer board
Table of Contents

Advertisement

WDT & GPIO
mov
dx, SIO_INDEX_Port
mov
al, SIO_GPIO_Status
out
dx, al
mov
dx, SIO_DATA_Port
in
al, dx
; Exit SIO
mov
dx, SIO_INDEX_Port
mov
al, SIO_Lock_Value
out
dx, al
#2 : Set GPO 0 to high
; Enable config mode
mov
dx, SIO_INDEX_Port
mov
al, SIO_UnLock_Value
out
dx, al
jmp
short $+2
jmp
short $+2
out
dx, al
; Switch GPIO Configuration for SIO LDN 0x06
mov
dx, SIO_INDEX_Port
mov
al, 07h
out
dx, al
mov
dx, SIO_DATA_Port
mov
al, SIO_LDN_GPIO
out
dx, al
; Set GPO 0 Register
mov
dx, SIO_INDEX_Port
mov
al, SIO_GPIO_Data
out
dx, al
mov
dx, SIO_DATA_Port
in
al, dx
and
al, not GPO_0
or
al, GPO_0
out
dx, al
; Exit SIO
mov
dx, SIO_INDEX_Port
mov
al, SIO_Lock_Value
out
dx, al
A-4
;al bit0 = GPI 0 status
;Io_delay
;Io_delay

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ms-98h6-n3160

Table of Contents