
3-6
Appendix
▍
#2 : Set GPO 0/1/2/3 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/1/2/3 Status to high(1)�
mov
dx, SIO_INDEX_Port
mov
al, GPO_REG
out
dx, al
mov dx, SIO_DATA_Port
in al, dx
and
Not (GPO_0+ GPO_1+ GPO_2+ GPO_3)
;reset to 0
or
al, (GPO_0+ GPO_1+ GPO_2+ GPO_3)
out
dx, al
; Exit SIO
mov
al, SIO_CONFIG_MODE_EXIT_VALUE
out
dx, al
Содержание BX-700W
Страница 1: ...BX 700W Industrial PC...
Страница 9: ...ix Appendix WDT GPIO 3 1 WDT Sample Code 3 2 GPIO Sample Code 3 4...
Страница 10: ...NOTE...