Hitachi DK23EA Specifications - Page 31

Logical Interface, 3.1 I/O Registers, 3.1.1 Data register, 3.1.2 Error register

Page 31 highlights

6.3 Logical Interface 6.3.1 I/O Registers Communication between the host system and the device is done through I/O registers. The Command Block Registers are used for sending commands to the device or posting device status. The Control Block Registers are used for controlling the device or posting device status. The registers are listed in Table 6.3. Table 6.3 Register List Addresses Functions CS0- CS1- DA2 DA1 DA0 READ(DIOR-) WRITE(DIOW-) Command Block Registers 0 1 0 0 0 Data Data 0 1 0 0 1 Error Features 0 1 0 1 0 Sector Count Sector Count 0 1 0 1 1 Sector Number Sector Number 0 1 1 0 0 Cyl Low Cyl Low 0 1 1 0 1 Cyl High Cyl High 0 1 1 1 0 Device/Head Device/Head 0 1 1 1 1 Status Command Control Block Registers 1 0 1 1 0 Alt. Status Device Control Invalid or Not Used 0 0 ´ ´ ´ Invalid address 0 1 ´ ´ ´ Data bus high impedance (not used) 1 0 0 ´ ´ Data bus high impedance (not used) 1 0 1 0 ´ Data bus high impedance (not used) '0' is low signal level. '1' is high signal level. 6.3.1.1 Data register A 16-bit register to be used for transferring data blocks between the HDD's data buffer and the host. 6.3.1.2 Error register This register stores device status when the last command has been completed or diagnostic codes when a self-diagnostic process has been completed. The contents of this register are valid when the error bit (ERR) is set in the Status Register. The contents of this register are diagnostic codes when the device has just completed a self-diagnostic process requested when turning on the power or resetting. K6602637 Rev.3 02.27.01 - 31 -

  • 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

K6602637
Rev.3
02.27.01
- 31 -
6.3 Logical Interface
6.3.1 I/O Registers
Communication between the host system and the device is done through I/O registers. The Command
Block Registers are used for sending commands to the device or posting device status. The Control
Block Registers are used for controlling the device or posting device status. The registers are listed in
Table 6.3.
Table 6.3
Register List
Addresses
Functions
CS0-
CS1-
DA2
DA1
DA0
READ(DIOR-)
WRITE(DIOW-)
Command Block Registers
0
1
0
0
0
Data
Data
0
1
0
0
1
Error
Features
0
1
0
1
0
Sector Count
Sector Count
0
1
0
1
1
Sector Number
Sector Number
0
1
1
0
0
Cyl Low
Cyl Low
0
1
1
0
1
Cyl High
Cyl High
0
1
1
1
0
Device/Head
Device/Head
0
1
1
1
1
Status
Command
Control Block Registers
1
0
1
1
0
Alt. Status
Device Control
Invalid or Not Used
0
0
·
·
·
Invalid address
0
1
·
·
·
Data bus high impedance (not used)
1
0
0
·
·
Data bus high impedance (not used)
1
0
1
0
·
Data bus high impedance (not used)
'0' is low signal level.
'1' is high signal level.
6.3.1.1 Data register
A 16-bit register to be used for transferring data blocks between the HDD's data buffer and the host.
6.3.1.2 Error register
This register stores device status when the last command has been completed or diagnostic codes
when a self-diagnostic process has been completed. The contents of this register are valid when the
error bit (ERR) is set in the Status Register. The contents of this register are diagnostic codes when
the device has just completed a self-diagnostic process requested when turning on the power or
resetting.