![](/images/backgrounds/146247/146247-253129x1.png)
5.15MODE SENSE (10) COMMAND (5Ah)
The MODE SENSE command allows the initiator to read the drive’s sector descriptor and mode pages.
See Table
Table
Bit | 7 |
| 6 |
| 5 | 4 |
| 3 | 2 | 1 | 0 |
Byte |
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
|
|
| Operation | Code (5Ah) |
|
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1 |
|
|
| Reserved |
|
| DBD |
| Reserved |
| |
|
|
|
|
|
|
|
|
|
|
| |
2 |
| PC |
|
|
|
| Page | Code |
|
| |
|
|
|
|
|
|
|
|
|
| ||
3 |
|
|
|
|
| Sub Page Code |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
| |
4 – 6 |
|
|
|
|
|
| Reserved |
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
7 – 8 | (MSB) |
|
|
|
| Allocation Length |
|
|
| ||
|
|
|
|
|
|
| (LSB) | ||||
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| |
9 |
|
|
|
|
|
| Control |
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
Table
Bit | 7 | 6 | 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
| |
0 - 1 | (MSB) |
|
|
| Mode Data Length |
|
|
| |||
|
|
|
|
|
| (LSB) | |||||
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |||
2 |
|
|
|
| Medium Type |
|
|
| |||
|
|
|
|
|
|
|
| ||||
3 |
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
| ||
4 - 5 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
| |||
6 - 7 |
|
|
|
| Block Descriptor Length |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
Field Descriptions for the Mode Parameter Header are given in the table that follows.
Table
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
Byte | |||||||||
|
|
|
|
|
|
|
| ||
0 - 3 | (MSB) |
|
| Number of Blocks |
|
|
| ||
|
|
|
|
| (LSB) | ||||
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
| ||
4 |
|
|
| Density Code |
|
|
| ||
|
|
|
|
|
|
|
|
| |
5 - 7 | (MSB) |
|
| Block Length |
|
|
| ||
|
|
|
|
| (LSB) | ||||
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
Maxtor Atlas 10K V |