
Host Interface
4.3.5 MODE SENSE command
Table 4.31 MODE SENSE command
Bit | 7 |
| 6 |
| 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
|
|
| Operation Code (1Ah) |
|
|
| ||||
1 |
|
|
| Reserved |
|
|
| DBD |
|
| Reserved |
| |
2 | PC |
|
|
|
|
|
| Page Code |
|
| |||
|
|
|
|
|
|
|
|
|
|
|
| ||
3 |
|
|
|
|
|
|
| Reserved |
|
|
| ||
4 |
|
|
|
|
|
| Allocation Length |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
| ||
5 |
|
|
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The MODE SENSE command transfers a mode parameter list to INIT.
If Disable Block Descriptor (DBD) is 1, the command does not return a block descriptor. If DBD is 0, the command returns a block descriptor.
Allocation Length specifies the number of bytes of the mode parameter to be transferred. If Allocation Length is 0, the command ends normally without transferring any data.
Page Control (PC) specifies the type of page to be sent.
| Table 4.32 | Page control field | |
|
|
|
|
Bit 7 | Bit 6 |
| Parameter type |
0 | 0 |
| Current value |
0 | 1 |
| Variable value |
|
|
|
|
1 | 0 |
| Default value |
1 | 1 |
| Saved value |
|
|
|
|
Page Code specifies a mode page to be transferred. If Page Code is 3Fh, all mode pages are transferred. Table 4.10, "Mode page codes" lists the mode pages that are supported.
Mode pages are transferred in ascending order of page code.
If 0 is specified for both Page Code and Page Control, the command transfers Mode Parameter Header and Block Descriptor (only if the DBD bit is 0).
Table 4.33 is a list of mode parameters.