搜尋此網誌

2013年2月26日 星期二

STANDBY - E2h, Non-Data


STANDBY - E2h, Non-Data

Inputs:
Register
7
6
5
4
3
2
1
0
Features
Current
N/A
Previous
N/A
Sector Count
Current
This value shall determine the time period programmed into the Standby timer.
Previous
N/A
LBA Low
Current
N/A
Previous
N/A
LBA Mid
Current
N/A
Previous
N/A
LBA High
Current
N/A
Previous
N/A
Device
obs
N/A
obs
TD
Reserved
Command
E2h
Standby timer periods table
Count field
Description
00h
Standby time disabled
01h-F0h
(value * 5) seconds (i.e., 5 seconds to 1 200 seconds (i.e., 20
minutes))
F1h-FBh
((value - 240) * 30) minutes (i.e., 30 minutes to 330 minutes
(i.e., 5.5 hours))
FCh
21 minutes
FDh
Between 8 hours and 12 hours
FEh
Reserved
FFh
21 minutes 15 seconds
Note - Times are approximate.


Transport Dependent (TD): All bits and fields that are labeled transport dependent are defined in the transport standards.

Normal Outputs:
Register
7
6
5
4
3
2
1
0
Error
N/A
Sector Count
HOB = 0
N/A
HOB = 1
N/A
LBA Low
HOB = 0
N/A
HOB = 1
N/A
LBA Mid
HOB = 0
N/A
HOB = 1
N/A
LBA High
HOB = 0
N/A
HOB = 1
N/A
Device
obs
na
obs
TD
Reserved
Status
TD
DF
na
TD
na
na
ERR
Device Fault bit: If the device enters a condition where continued operation may affect user data integrity (e.g., failure to spin-up without error, or no spares remaining for reallocation), then the device shall set the Device Fault bit to one and no longer accept commands. This condition is only cleared by power cycling the device. Once the Device Fault bit has been cleared to zero it may remain clear until a command that affects user data integrity is received by the device.
Error bit: The Error bit shall be set to one if any bit in the Error field is set to one.

Error Outputs:
Register
7
6
5
4
3
2
1
0
Error
N/A
Sector Count
HOB = 0
N/A
HOB = 1
N/A
LBA Low
HOB = 0
N/A
HOB = 1
N/A
LBA Mid
HOB = 0
N/A
HOB = 1
N/A
LBA High
HOB = 0
N/A
HOB = 1
N/A
Device
obs
na
obs
TD
Reserved
Status
TD
DF
na
TD
na
sda
ERR
Sense Data Available:
The Sense Data Available bit shall be set to one if:
a)   IDENTIFY DEVICE data word 119 bit 6 is set to one;
b)   IDENTIFY DEVICE data word 120 bit 6 is set to one; and
c)   the device has sense data to report after processing any command.
The Sense Data Available bit is obsolete if:
a)   IDENTIFY DEVICE data word 119 bit 6 is cleared to zero; or
b)   IDENTIFY DEVICE data word 120 bit 6 is cleared to zero.

沒有留言:

張貼留言