Fujitsu MCF3064AP manual 13 IO and Cod, Sector Number register, ATAPI Status register, Service

Models: MCE3130AP MCE3064AP MCF3064AP

1 175
Download 175 pages 7 Kb
Page 78
Image 78

 

 

Table 4.13 IO and Cod

 

 

 

IO

CoD

Meaning

 

 

 

0

1

Packet command transfer

 

 

 

1

0

Data or parameter transfer (from the ODD to the host)

 

 

 

0

0

Data or parameter transfer (from the host to the ODD)

 

 

 

1

1

The completion status in the Status register is effective.

 

 

 

4.3.1.13Sector Number register

This register is not used. The ODD ignores all specified values.

4.3.1.14ATAPI Status register

This register indicates the status of the ODD. It is updated to reflect the current ODD status and the progress of the current command. When the BSY bit is 0, other bits of the register are effective and some other command block registers may be set with significant information. When the BSY bit is 1, the other bits of this register and all other command block registers are ineffective.

While the ODD is in sleep mode, the ATAPI Status register and all other command block registers are ineffective.

If the host reads this register during interrupt pending, the interrupt is cleared.

Table 4.14 Bit definitions of ATAPI Status register

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

BSY

DRDY

Reserved

SERVICE

DRQ

CORR

Reserved

CHECK

Read

 

 

(0b)

 

 

(0b)

(0b)

 

 

 

 

 

 

 

 

 

 

 

!BSY (Busy) is set during command block register control. When BSY is 1, the ODD ignores all command block registers other than the Device Reset command.

The ODD updates the DRQ and CHECK values only when BSY is 1. After the final block of the PIO data-in command is transferred, the BSY bit setting is canceled and the DRQ bit is cleared.

When BSY is 0, the ODD may update the SERVICE bit of the ATAPI Status register and the Data register. The ODD does not update all other command block registers and the ATAPI Status register bits.

The ODD sets BSY:

a)After RESET- is negated or within 400 ns of setting the SRST bit of the Device Control Register

4 - 10

C156-E142-02EN

Page 78
Image 78
Fujitsu MCF3064AP, MCE3064AP, MCE3130AP manual 13 IO and Cod, Sector Number register, ATAPI Status register, Service