7. Hard Ware Monitor
40
SLC-8550-LVA
LED
There are three LED in the front of this board.
Power LED (Green): This LED is “On” when power supply is on.
IDE Access LED (Yellow): This LED is “On” when IDE drive or CF card access.
Status LED (Red): User can control this LED.
Refer to the following example of programming for ON/OFF of Status LED.
The I/O Port of status LED control uses address 2e/2fH.
The following example is created by Intel8086 assembly language.
(1) Initialize (Operate only at once first)
;-----------------------------------------
;Enter the extended function mode
;------------------------------------------
MOV DX,2E
MOV AL,87
OUT DX,AL
OUT DX,AL
;------------------------------------------------------
;Select logical device GPIO Port3(number 9)
;------------------------------------------------------
MOV DX,2E
MOV AL,07
OUT DX,AL
MOV DX,2F
MOV AL,09
OUT DX,AL
;--------------------------------------------------------
;Activate logical device GPIO Port3(number 9)
;---------------------------------------------------------
MOV DX,2E
MOV AL,30
OUT DX,AL
MOV DX,2F
MOV AL,01
OUT DX,AL
;--------------------------------------------
;Set GPIO35(Red LED) output port
;--------------------------------------------
MOV DX,2E
MOV AL,F0
OUT DX,AL
MOV DX,2F
MOV AL,1E
Содержание SLC-8550-LVA
Страница 7: ...vi SLC 8550 LVA...
Страница 19: ...2 System Reference 12 SLC 8550 LVA...
Страница 31: ...3 Hardware Installations 24 SLC 8550 LVA...
Страница 35: ...5 CPU Card Resources 28 SLC 8550 LVA...