Hitachi C4K60 Specifications - Page 34

Status Register

Page 34 highlights

7.1.9. Status Register The current device status is reflected in this register. The contents are updated at the completion of each command. If BSY=1, no other bits in this register are valid. When BSY is cleared, the other bits in this register is valid within 400 ns. If the host reads this register when an interrupt is pending, it is considered to be the interrupt acknowledge, and the pending interrupt is then cleared. Bit 7 6 5 4 3 2 1 Name BSY DRDY DWF DSC DRQ CORR IDX 0 ERR − ERR (Error): This bit indicates that an error occurs during the execution of a command. For more information, refer to the description of the Error register. − IDX (Index): This bit is set once per disk revolution. − CORR (Corrected Data): This bit reports always "1" − DRQ (Data Request): This bit indicates that the device is ready to transfer data between the host and the device. − DSC (Device Seek Complete): This bit indicates that the device head is located on the specified track. If an error has occurred, the value of this bit is not changed until the host reads the Status register. − DFW (Device Write Fault): This bit indicates that an error has occurred during a Write operation. If an error has occurred, the value of this bit is not changed until the host reads the Status register. − DRDY (Device Ready): This bit indicates that the device is ready to respond any command. If an error has occurred, the value of this bit is not changed until the host reads the Status register. This bit is cleared when the power is turned on and then kept cleared until the device gets ready to accept any command. − BSY (Busy): This bit is specified when the device accesses the Command Block Registers. When BSY is 1,the host cannot access the Command Block Registers. If the Command Block Registers are read when BSY is "1", all contents of the Status Register are returned. K6610170 Rev.2 Dec 22, 2004 - 34 -

  • 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

K6610170
Rev.2
Dec 22, 2004
- 34 -
7.1.9. Status Register
The current device status is reflected in this register. The contents are updated at the completion of each
command. If BSY=1, no other bits in this register are valid. When BSY is cleared, the other bits in this
register is valid within 400 ns. If the host reads this register when an interrupt is pending, it is considered to
be the interrupt acknowledge, and the pending interrupt is then cleared.
Bit
7
6
5
4
3
2
1
0
Name
BSY
DRDY
DWF
DSC
DRQ
CORR
IDX
ERR
ERR (Error):
This bit indicates that an error occurs during the execution of a command.
For more information, refer to the description of the Error register.
IDX (Index):
This bit is set once per disk revolution.
CORR (Corrected Data):
This bit reports always "1"
DRQ (Data Request):
This bit indicates that the device is ready to transfer data between the host and
the device.
DSC (Device Seek Complete):
This bit indicates that the device head is located on the specified track.
If an error has occurred, the value of this bit is not changed until the host reads the Status register.
DFW (Device Write Fault):
This bit indicates that an error has occurred during a Write operation.
If an error has occurred, the value of this bit is not changed until the host reads the Status register.
DRDY (Device Ready):
This bit indicates that the device is ready to respond any command. If an error has occurred, the
value of this bit is not changed until the host reads the Status register. This bit is cleared when the
power is turned on and then kept cleared until the device gets ready to accept any command.
BSY (Busy):
This bit is specified when the device accesses the Command Block Registers. When BSY is 1,the
host cannot access the Command Block Registers. If the Command Block Registers are read when
BSY is "1", all contents of the Status Register are returned.