
A-4
WDT & GPIO
MS-98F1
mov dx, SMBUS_ADDRESS03
out dx,al
mov dx, SMBUS_ADDRESS05
mov al,cl
out dx,al
mov al,48h ;set start(bit6=1)and byte data read or write(bit2~4)
xchg al,ah
mov dx, SMBUS_ADDRESS04
out dx,al
xchg al,ah
mov dx, SMBUS_ADDRESS02
out dx,al
#2 :
(a)Set GPO 0 status
mov ax, SLAVE_ADDRESS SIO_GPIO2x_Status
mov cl, GPO_0 ;bit0=GPO 0 status
push ax
mov dx, SMBUS_ADDRESS
mov al,1eh ;clear(bit1~4) status
out dx,al
pop ax
mov dx, SMBUS_ADDRESS03
out dx,al
mov dx, SMBUS_ADDRESS05
mov al,cl
out dx,al
mov al,48h ;set start(bit6=1)and byte data read or write(bit2~4)
xchg al,ah
mov dx, SMBUS_ADDRESS04
out dx,al
xchg al,ah
mov dx, SMBUS_ADDRESS02
out dx,al
Содержание MS-919-98F1-103
Страница 1: ...i MS 98F1 v1 x Industrial Computer Board...
Страница 14: ...1 6 Overview...
Страница 32: ...2 18 Hardware Setup...
Страница 43: ...3 11 MS 98F1 GPIO Group Configuration GPO0 GPO3 These settings control the operation mode of the specified GPIO...
Страница 58: ......