A-4
WDT & GPIO
MS-98G6
out
dx, al
jmp
short $+2
;Io_delay
jmp
short $+2
;Io_delay
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
; Get GPI 0 Pin Status Register
mov
dx, SIO_INDEX_Port
mov
al, GPI_REG
out
dx, al
mov dx, SIO_DATA_Port
in al, dx
;al bit0 = GPI 0 status
;
Exit SIO
mov
dx, SIO_INDEX_Port
mov
al, SIO_Lock_Value
out
dx, al
#2 : Set GPO 0 status to high
; 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
; 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 Pin to High
mov
dx, SIO_INDEX_Port
mov
al, GPO_REG
out
dx, al
mov dx, SIO_DATA_Port
in
al, dx
or
al, GPO_0
out
dx, al
;al bit4 = GPO 0 status
;
Exit SIO
mov
dx, SIO_INDEX_Port
mov
al, SIO_Lock_Value
out
dx, al
Содержание 919-98G6-001
Страница 1: ...i MS 98G6 v1 x Industrial Computer Board...
Страница 11: ...1 5 MS 98G6 ME Overview h h Board Dimension unit of measurement mm...
Страница 12: ...1 6 Overview h h Suggested Chassis I O Gap Dimension...
Страница 28: ......