Hitachi HTS541680J9SA00 Specifications - Page 45

Command register, Device Control Register, Device Register, Error Register - update

Page 45 highlights

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 Table 24. Register naming convention and correspondence Error 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 2 1 0 - - - - 1 SRST -IEN 0 Table 25. Device Control Register Bit Definitions SRST (RST) -IEN 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 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 7 6 5 - L - Table 26. Device Register Device Register 4 3 2 1 0 0 HS3 HS2 HS1 HS0 This register contains the device and head numbers. Bit Definitions L HS3,HS2,HS1,HS0 Binary encoded address mode select. When L=0, addressing is by CHS mode. When L=1, addressing is by LBA mode. 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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167

Travelstar 5K160 (SATA) Hard Disk Drive Specification
45/167
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
2
1
0
-
-
-
-
1
SRST
-IEN
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
ensure that the device recognizes the reset.
-IEN
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
5
4
3
2
1
0
-
L
-
0
HS3
HS2
HS1
HS0
Table 26. Device Register
This register contains the device and head numbers.
Bit Definitions
L
Binary 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