Hitachi HTS541640J9SA00 manual Command register, Device Control Register, Device Register

Models: HTS541640J9SA00 HTS541616J9SA00 HTS541680J9SA00 HTS541612J9SA00 HTS541660J9SA00

1 167
Download 167 pages 31.29 Kb
Page 45
Image 45
11.2 Command register

Travelstar 5K160 (SATA) Hard Disk Drive Specification

Cylinder high

LBA high current

LBA mid HOB=0

 

 

 

Cylinder high (exp)

LBA high previous

LBA mid HOB=1

 

 

 

Device/head

Device

Device

 

 

 

Command

Command

N/A

 

 

 

Control

Device Control

N/A

Status

N/A

Status

Error

N/A

Error

 

 

 

 

 

 

Table 24. Register naming convention and correspondence

11.2 Command register

This register contains the command code being sent to the device. Command execution begins immediately after this register is written. The command set is shown in “Command set” on 5.

All other registers required for the command must be set up before writing the Command Register.

11.3 Device Control Register

Device Control Register

7

-

6

-

5

-

4

-

3

1

2

SRST

1

-IEN

0

0

Table 25. Device Control Register

Bit Definitions

 

SRST (RST)

Software Reset. The device is held reset when RST=1. Setting RST=0 reenables the device.

 

The host must set RST=1 and wait for at least 5 microseconds before setting RST=0, to

-IEN

ensure that the device recognizes the reset.

Interrupt Enable. When IEN=0, and the device is selected, device interrupts to the host will

 

be enabled. When IEN=1, or the device is not selected, device interrupts to the host will be

 

disabled.

11.4 Device Register

Device Register

7

-

6

L

5

-

4

0

3

HS3

2

HS2

1

HS1

0

HS0

Table 26. Device Register

This register contains the device and head numbers.

Bit Definitions

LBinary encoded address mode select. When L=0, addressing is by CHS mode. When L=1, addressing is by LBA mode.

HS3,HS2,HS1,HS0 The HS3 through HS0 contain bits 24-27 of the LBA. At command completion, these bits are updated to reflect the current LBA bits 24-27.

11.5 Error Register

Error Register

45/167

Page 45
Image 45
Hitachi HTS541640J9SA00, HTS541680J9SA00 manual Command register, Device Control Register, Device Register, Error Register