English
Language : 

W88113C Datasheet, PDF (33/102 Pages) Winbond – ATAPI CD-ROM DECODER & CONTROLLER
W88113C
• Clear BSY
• HIRQ (2Eh.3) ← 1
• APKTEN (18h.7) ← 1, if AUTOEN (18h.4) is high
• ASCEN (18h.5) ← 0
After detecting the interrupt, the host reads the ATAPI Status Register and if necessary, the
Error Register for the command completion status.
ASCTRL - Automatic Sequence Control register - (read/write 18h)
Bit 7: APKTEN - Automatic Packet Transfer Enable
Setting this bit high enables Automatic Packet Transfer logic. When APKTEN is high, the
following hardware sequence is performed if host issues opcode A0h to the ATA Command
Register if drive has been selected:
• Set BSY (37h.7)
• APKT
(30h.r0) ← 1
• Clear Packet FIFO
• ATERR (31h) ← 00h
• ATINT (32h) ← 01h
• DTEN (01h.w1) ← 1
• TENDEN (01h.w6) ← 1, if HIIEN (2Eh.7) is high
• SCoD
(20h.2) ← 1
• CHECK (37h.0) ← 0
• CORR (37h.2) ← 0
• DRQ
(37h.3) ← 1
• DSC (37h.4) ← 1, if ASDSC (3Dh.4) is high
• DRDY
(37h.6) ← 1
• HIRQ (2Eh,3) ← 1, if A0IEN (18h.0) is high
• APKTEN ← 0
• Clear BSY (37h.7)
ATAC (2Fh.w6) will not be activated during Automatic Packet Transfers.
When the drive becomes ready after BSY is cleared, the host starts to issue 12-byte ATAPI
Command Packet. Reception of the 6th packet word activates the following events.
• FPKT
(30h.r1) ← 1
• TENDb (01h.r6) ← 0
• Pin UINTb activate if TENDEN (01h.w6) has been enabled
- 29 -
Publication Release Date: Mar. 1999
Revision 0.61