Interface
Y*: Necessary to set parameters under the LBA mode.
N:Not necessary to set parameters (The parameter is ignored if it is set.) N*: May set parameters
D:The device parameter is valid, and the head parameter is ignored.
D*: The command is addressed to the master device, but both the master device and the slave device execute it.
X:Do not care
5.3.2Command descriptions
The contents of the I/O registers to be necessary for issuing a command and the example indication of the I/O registers at command conpletion are shown as following in this subsection.
Example: READ SECTOR(S)
At command issuance (I/O registers setting contents)
Bit | 7 |
| 6 | 5 | 4 | 3 |
| 2 | 1 |
| 0 |
|
|
|
|
|
|
|
|
|
|
|
|
1F7H(CM) | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 0 |
| 0 |
|
|
|
|
|
|
| |||||
1F6H(DH) | × |
| L | × | DV | Head No. / LBA [MSB] | |||||
|
|
|
|
|
|
|
|
| |||
1F5H(CH) | Start cylinder address [MSB] / LBA |
|
|
| |||||||
|
|
|
|
| |||||||
1F4H(CL) | Start cylinder address [LSB] / LBA |
|
|
| |||||||
|
|
|
|
|
| ||||||
1F3H(SN) | Start sector No. / LBA [LSB] |
|
|
|
| ||||||
1F2H(SC) | Transfer sector count |
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
| |
1F1H(FR) | xx |
|
|
|
|
|
|
|
|
| |
|
| ||||||||||
At command completion (I/O registers contents to be read) |
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
Bit | 7 |
| 6 | 5 | 4 | 3 |
| 2 | 1 |
| 0 |
|
|
|
|
|
|
|
|
|
|
| |
1F7H(ST) | Status information |
|
|
|
|
|
|
| |||
|
|
|
|
|
|
| |||||
1F6H(DH) | × |
| L | × | DV | Head No. / LBA [MSB] | |||||
|
|
|
|
|
|
|
|
| |||
1F5H(CH) | End cylinder address [MSB] / LBA |
|
|
| |||||||
|
|
|
|
|
| ||||||
1F4H(CL) | End cylinder address [LSB] / LBA |
|
|
|
| ||||||
1F3H(SN) | End sector No. / LBA [LSB] |
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
| |
1F2H(SC) | X’00’ |
|
|
|
|
|
|
|
|
| |
1F1H(ER) | Error information |
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|