Hitachi HTS541010G9AT00 Specifications - Page 57

Registers - specs

Page 57 highlights

9.0 Registers In Serial ATA, the host adapter contains a set of registers that shadow the contents of the traditional device registers, referred to as the Shadow Register Block. Shadow Register Block registers are interface registers used for delivering commands to the device or posting status from the device. About details, please refer to the Serial ATA Spec. In the following cases, the host adapter sets the BSY bit in its shadow Status Register and then transmits a frame to the device containing the new regster contents. - Command register is written in the Shadow Register Block - Device Control register is written in the Shadow Register Block with a change of state of the SRST bit - COMRESET is requested 9.1 Register naming convention This specification uses the same naming conventions for the Command Block Registers as the ATA/ATAPI-6 standard. However, the register naming convention is different from that uses in the Serial ATA 1.0a specification. Figure 1 defines the corresponding of the register names used in this specification with those used in the Serial ATA 1.0a specification. Serial ATA register name Register name in this specification when writing registers Register name in this specification when reading registers Features Feature current Features (exp) Feature previous Sector count Sector count current Sector count HOB=0 Sector count (exp) Sector count previous Sector count HOB=1 Sector number LBA low current LBA low HOB=0 Sector number (exp) LBA low previous LBA low HOB=1 Cylinder low LBA mid current LBA mid HOB=0 Cyliner low (exp) LBA mid previous LBA mid HOB=1 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 9.2 Command Register Travelstar 5K100 (Serial ATA) Hard Disk Drive Specification 45

  • 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
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205

Travelstar 5K100 (Serial ATA) Hard Disk Drive Specification
45
9.0 Registers
In Serial ATA, the host adapter contains a set of registers that shadow the contents of the traditional device regis-
ters, referred to as the Shadow Register Block. Shadow Register Block registers are interface registers used for
delivering commands to the device or posting status from the device. About details, please refer to the Serial ATA
Spec.
In the following cases, the host adapter sets the BSY bit in its shadow Status Register and then transmits a frame to
the device containing the new regster contents.
- Command register is written in the Shadow Register Block
- Device Control register is written in the Shadow Register Block with a change of state of the SRST bit
- COMRESET is requested
9.1
Register naming convention
This specification uses the same naming conventions for the Command Block Registers as the ATA/ATAPI-6 stan-
dard. However, the register naming convention is different from that uses in the Serial ATA 1.0a specification. Fig-
ure 1 defines the corresponding of the register names used in this specification with those used in the Serial ATA
1.0a specification.
9.2
Command Register
Serial ATA register
name
Register name in this
specification when
writing registers
Register name in this
specification when
reading registers
Features
Feature current
Features (exp)
Feature previous
Sector count
Sector count current
Sector count HOB=0
Sector count (exp)
Sector count previous
Sector count HOB=1
Sector number
LBA low current
LBA low HOB=0
Sector number (exp)
LBA low previous
LBA low HOB=1
Cylinder low
LBA mid current
LBA mid HOB=0
Cyliner low (exp)
LBA mid previous
LBA mid HOB=1
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