Interface
5.2.3 Outline of the frame information structure (FIS)
The transport layer converts data written in a Block Register into the FIS, and sends it to the upper layer.
The FIS, which is generated in the transport layer, is explained below.
5.2.3.1 FIS types
The types of FIS are as follows:
•Register- Host to Device
•Register- Device to Host
•DMA Active – Device to Host
•DMA Setup – Device to Host or Host to Device (Bidirectional)
•Set Device Bits – Device to Host
•BIST Active – Bidirectional
•PIO Setup – Device to Host
•Data – Host to Device or Device to Host (Bidirectional)
5.2.3.2Register - Host to Device
The Register - Host to Device FIS has the following layout:
| 3 | 3 |
| 2 |
| 2 | 2 |
| 2 |
| 2 | 2 | 2 | 2 |
| 2 | 2 | 1 | 1 |
| 1 | 1 | 1 |
| 1 |
| 1 | 1 | 1 | 1 |
| 9 |
| 8 | 7 | 6 |
| 5 | 4 | 3 | 2 |
| 1 | 0 |
| 1 | 0 |
| 9 |
| 8 | 7 |
| 6 |
| 5 | 4 | 3 | 2 |
| 1 | 0 | 9 | 8 |
| 7 | 6 | 5 |
| 4 |
| 3 | 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
0 |
|
|
| Features |
|
|
|
|
|
| Command |
|
| C | R | R | Reserved (0) |
| FIS Type (27h) |
| ||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
| Device |
|
|
|
|
|
|
| LBA High |
|
|
|
|
|
| LBA Mid |
|
|
|
|
|
| LBA Low |
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
2 |
| Features (exp) |
|
| LBA High (exp) |
|
|
| LBA Mid (exp) |
|
| LBA Low (exp) |
| |||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
3 |
|
|
|
| Control |
|
|
|
|
|
| Reserved (0) |
|
|
| Sector Count (exp) |
|
|
| Sector Count |
|
| ||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
4 |
|
| Reserved (0) |
|
|
| Reserved (0) |
|
|
|
|
| Reserved (0) |
|
|
|
|
| Reserved (0) |
|
| |||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
| Figure 5.3 |
| Register - Host to Device FIS layout |
|
|
|
|
|
|
|
|
|