158
Western Digital Hard Disk Drive OEM Specification
11.15.3
Set Features Subcommand (5h)
Com m and Block Output Registers
Com m and Block Input Registers
Register
7
6
5
4
3
2
1
0
Register
7
6
5
4
3
2
1
0
Data Low
-
-
-
-
-
-
-
-
Data Low
-
-
-
-
-
-
-
-
Data High
-
-
-
-
-
-
-
-
Data High
-
-
-
-
-
-
-
-
Feature
Current
-
-
V V 0
1
0
1
Error
...See Below ...
Previous
-
-
-
-
-
-
-
-
Sector Count
Current
V
V
V
V
V
-
-
-
Sector Count
HOB=0
-
-
-
-
-
-
-
-
Previous
-
-
-
-
-
-
-
-
HOB=1
-
-
-
-
-
-
-
-
Sector Number
Current
V
V
V
V
V
-
-
-
Sector Number
HOB=0
-
-
-
-
-
-
-
-
Previous
-
-
-
-
-
-
-
-
HOB=1
-
-
-
-
-
-
-
-
Cylinder Low
Current
-
-
-
-
-
-
-
-
Cylinder Low
HOB=0
-
-
-
-
-
-
-
-
Previous
-
-
-
-
-
-
-
-
HOB=1
-
-
-
-
-
-
-
-
Cylinder High
Current
-
-
-
-
-
-
-
-
Cylinder High
HOB=0
-
-
-
-
-
-
-
-
Previous
-
-
-
-
-
-
-
-
HOB=1
-
-
-
-
-
-
-
-
Device/Head
-
1
-
0
-
-
-
-
Device/Head
-
-
-
-
-
-
-
-
Command
0
1
1
0
0
0
1
1
Status
…See Below …
Error Register
Status Register
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
CRC
UNC
0
IDN
0
ABT
T0N
AMN
BSY
RDY
DF
DSC
DRQ
COR
IDX
ERR
V
V
0
V
0
V
0
0
0
V
0
V
-
0
-
V
Table 130 SET FEATURES Subcommand (5h)
Normal Outputs
Upon successful completion of one or more outstanding commands, the device shall transmit a Set Device Bits FIS
with the Interrupt bit set to one and one or more bits set to one in the ACT field corresponding to the bit position for
each command TAG that has completed since the last status notification was transmitted. The ERR bit in the Status
register shall be cleared to zero and the value in the Error register shall be zero.
Error Outputs
If the device has received a command that has not yet been acknowledged by clearing the BSY bit to zero and an
error is encountered, the device shall transmit a Register Device to Host FIS (see Table 130) with the ERR bit set to
one and the BSY bit cleared to zero in the Status field, the ATA error code in the Error field.