![Texas Instruments AM1808 Technical Reference Manual Download Page 1358](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_10945581358.webp)
Use Cases
1358
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Serial ATA (SATA) Controller
Uint32 B3Errror:8;//bits[31:24]
}PioSetupDW0;
typedef struct {
Uint32 B0LbaLow:8; //bits[7:0]
Uint32 B1LbaMid:8; //bits[15:8]
Uint32 B2LbaHigh:8;//bits[23:16]
Uint32 B3Device:8; //bits[31:24]
}PioSetupDW1;
typedef struct {
Uint32 B0LbaLowExp:8; //bits[7:0]
Uint32 B1LbaMidExp:8; //bits[15:8]
Uint32 B2LbaHighExp:8;//bits[23:16]
Uint32 B3Rsv:8;
//bits[31:24]
}PioSetupDW2;
typedef struct {
Uint32 B0SecCnt:8;
//bits[7:0]
Uint32 B1SecCntExp:8; //bits[15:8]
Uint32 B2Rsv:8;
//bits[23:16]
Uint32 B3Estatus:8;
//bits[31:24]
}PioSetupDW3;
typedef struct {
Uint32 HW0XferCnt:16; //bits[15:0]
Uint32 HW1Rsv:16;
//bits[31:16]
}PioSetupDW4;
typedef struct {
PioSetupDW0 DW0;
PioSetupDW1 DW1;
PioSetupDW2 DW2;
PioSetupDW3 DW3;
PioSetupDW4 DW4;
}PIOSetupFis;
//-----------PIO Setup FIS end D2H Reg FIS-------
typedef struct {
Uint32 B0FisType:8;//bits[7:0]
Uint32 BYTE1:8;
//bits[15:8]
Uint32 B2Status:8;
//bits[23:16]
Uint32 B3Errror:8;//bits[31:24]
}D2HRegDW0;
typedef struct {
Uint32 B0LbaLow:8; //bits[7:0]
Uint32 B1LbaMid:8; //bits[15:8]
Uint32 B2LbaHigh:8;//bits[23:16]
Uint32 B3Device:8; //bits[31:24]
}D2HRegDW1;
typedef struct {
Uint32 B0LbaLowExp:8; //bits[7:0]
Uint32 B1LbaMidExp:8; //bits[15:8]
Uint32 B2LbaHighExp:8;//bits[23:16]
Uint32 B3Rsv:8;
//bits[31:24]
}D2HRegDW2;
typedef struct {
Uint32 B0SecCnt:8;
//bits[7:0]