w83l519d Winbond Electronics Corp America, w83l519d Datasheet - Page 13

no-image

w83l519d

Manufacturer Part Number
w83l519d
Description
Integrated Media Reader
Manufacturer
Winbond Electronics Corp America
Datasheet
5.3.1
5.4
The trademarks and intellectual property rights of Memory Stick belong to SONY Corporation
The trademarks and intellectual property rights of SD belong to SD GROUP
All trademarks and brand names belong to their respective owners
The following example is written in Intel 8086 assembly language. EFER and EFIR are assumed to
be at 2Eh, and EFDR is at 2Fh. Use 4Eh/4Fh instead of 2Eh/2Fh if HEFRAS (bit 6 of CR26) is set.
;-----------------------------------------------------------------------------------
; Enter Extended Function mode, interruptible double-write
;-----------------------------------------------------------------------------------
MOV
MOV
OUT
OUT
;-----------------------------------------------------------------------------
; Configure logical device 1, configuration register CRF0 |
;-----------------------------------------------------------------------------
MOV
MOV
OUT
MOV
MOV
OUT
;
MOV DX, 2Eh
MOV
OUT
MOV
MOV
OUT
;------------------------------------------
; Exit extended function mode
;------------------------------------------
MOV
MOV
OUT
CR02 (Default 00h, write only)
CR07 (Default 00h)
CR20 (read only)
Software programming example
Bit [7:1]: Reserved.
Bit 0: SWRST
Bit [7:0]: Logical Device Number.
Bit [7:0]: Device ID number (higher byte).
Global Registers
DX, 2Eh
AL, 83h
DX, AL
DX, AL
DX, 2Eh
AL, 07h
DX, AL
DX, 2Fh
AL, 01h
DX, AL
AL, F0H
DX, AL
DX, 2Fh
AL, 3Ch
DX, AL
DX, 2Eh
AL, AAh
DX, AL
= 0
= 1
= 71h
Normal operation.
Software reset.
; point to Logical Device Number Reg.
; select logical device 1
; select CRF0
; update CRF0 with value 3CH
|
12
|
Publication Release Date: Jul. 2002
W83L519D
Revision 1.0

Related parts for w83l519d