AAEON FWS-7600 User Manual
Page 64
N e t w o r k Ap p l i a n c e
F W S - 7 6 0 0
Appendix C Standard Firewall Platform Setting
C-3
C.2 Status LED Sample Code
Status LED Sample code
[Disabled LED Function]
mov dx,48Fh
;( IO_PORT = 48Fh)
in al,dx
or al,00010000b ;set bit 4 -->high
out
dx,al
mov dx,4B8h
;( IO_PORT = 4B8h)
in al,dx
or al,00001000b ;set bit 3 -->high
out
dx,al
[RED LED ON]
mov dx,48Fh
;( IO_PORT = 48Fh)
in al,dx
or al,00010000b ;set bit 4 -->high
out
dx,al
mov dx,4B8h
;( IO_PORT = 4B8h)
in al,dx
and al,11110111b ;set bit 3 -->LOW