w83l517g Winbond Electronics Corp America, w83l517g Datasheet - Page 110

no-image

w83l517g

Manufacturer Part Number
w83l517g
Description
Winbond Lpc I/o For Notebook W83l517d/ W83l517d-f
Manufacturer
Winbond Electronics Corp America
Datasheet
12.3.4 Software programming example
The following example is written in Intel 8086 assembly language. It assumes that the EFER is located
at 2Eh, so EFIR is located at 2Eh and EFDR is located at 2Fh. If HEFRAS (CR26 bit 6) is set, 4Eh
can be directly replaced by 4Eh and 2Fh replaced by 4Fh.
;-----------------------------------------------------------------------------------
; Enter the extended function mode ,interruptible double-write
;-----------------------------------------------------------------------------------
MOV
MOV AL,87H
OUT
OUT
;-----------------------------------------------------------------------------
; Configurate logical device 1, configuration register CRF0 |
;-----------------------------------------------------------------------------
MOV
MOV
OUT
MOV
MOV
OUT
;MOV DX,2EH
MOV
OUT
MOV
MOV AL,3CH
OUT
;------------------------------------------
; Exit extended function mode
;------------------------------------------
MOV
MOV AL,AAH
OUT
DX,2EH
DX,AL
DX,AL
DX,2EH
AL,07H
DX,AL
DX,2FH
AL,01H
DX,AL
AL,F0H
DX,AL
DX,2FH
DX,AL
DX,2EH
DX,AL
; point to Logical Device Number Reg.
; select logical device 1
; select CRF0
; update CRF0 with value 3CH
|
- 110 -
W83L517D/W83L517D-F
|

Related parts for w83l517g