Инструкция LFF (3.5") Серверный HDD WD Ultrastar HC580

10.18.3.3 Feature Control Command (action code : 0004h) (стр. 97 из 357)

Бренд: LFF

Страница 97 документа LFF (3.5") Серверный HDD WD Ultrastar HC580. Раздел: Western Digital. Бренд: LFF.

Текст страницы

10.18.3.3 Feature Control Command (action code : 0004h)

Table 57 Feature Control command (Inputs)

Inputs: (Key Sector)

Word
Name
Value
Description

0
Action Code
0004h
Set or return the state of drive features described in Table 59

1
Function Code
0001h
Set state for a feature

0002h
Return the current state of a feature

0003h
Return feature option flags

2
Feature Code
Word
See Table 59 for a list of the feature codes

3
State
Word
Feature code dependent value

4
Option Flags
Word
Bit15:1 = Reserved
If the function code is 0001h, setting bit 0 to one causes the
requested feature state change to be preserved across power cycles.
If the function code is 0001h, setting bit 0 to zero causes the
requested feature state change to be volatile. A hard reset causes
the drive to revert to default, or last non-volatile setting.

255:5
Reserved
0000h

Table 58 Feature Control command (Outputs)

Outputs: (TF Data)

Command Block Input Registers (Success)

Error
00h

Sector Count
If Function Code was 0002h, then this is the LSB of Feature State.
If Function Code was 0003h, then this is the LSB of Option Flags.
Otherwise, this field is reserved.

Sector Number
If Function Code was 0002h, then this is the MSB of Feature State.
If Function Code was 0003h, then this is the MSB of Option Flags.
Otherwise, this field is reserved.

Cylinder Low
Reserved

Cylinder High
Reserved

Device/Head
Reserved

Status
50h

97
Hard Disk Drive Specification