搜尋此網誌

2012年6月6日 星期三

SMART ENABLE OPERATIONS - B0h/D8h, Non-data


Inputs:
Register
7
6
5
4
3
2
1
0
Features
D8h
Sector Count
na
LBA Low
na
LBA Mid
4Fh
LBA High
C2h
Device
obs
na
obs
DEV
na
na
na
na
Command
B0h
Device register -
DEV shall specify the selected device.
Normal Outputs:
Register
7
6
5
4
3
2
1
0
Error
na
Sector Count
na
LBA Low
na
LBA Mid
na
LBA High
na
Device
obs
na
obs
DEV
na
na
na
na
Status
BSY
DRDY
DF
na
DRQ
na
na
ERR
Device register –
DEV shall indicate the selected device.
Status register -
BSY shall be cleared to zero indicating command completion.
DRDY shall be set to one.
DF (Device Fault) shall be cleared to zero.
DRQ shall be cleared to zero.
ERR shall be cleared to zero.

Error Outputs:
Register
7
6
5
4
3
2
1
0
Error
na
na
na
na
na
ABRT
na
na
Sector Count
na
LBA Low
na
LBA Mid
na
LBA High
na
Device
obs
na
obs
DEV
na
Status
BSY
DRDY
DF
na
DRQ
na
na
ERR
Error register -
ABRT shall be set to one if this command is not supported or if the input register values are invalid. ABRT may be set to one if the device is not able to complete the action requested by the command.
Device register -
DEV shall indicate the selected device.
Status register -
BSY shall be cleared to zero indicating command completion.
DRDY shall be set to one.
DF (Device Fault) shall be cleared to zero.
DRQ shall be cleared to zero.
ERR shall be cleared to zero.

沒有留言:

張貼留言