Preliminary
www.ti.com
Use Cases
Uint32 B1SecCntExp:8; //bits[15:8]
Uint32 B2Rsv:8;
//bits[23:16]
Uint32 B3Control:8;
//bits[31:24]
}CmdFisWord3;
typedef struct {
Uint32 DWResv; //bits[31:0]
}CmdFisWord4;
typedef struct {
CmdFisWord0 DW0;
CmdFisWord1 DW1;
CmdFisWord2 DW2;
CmdFisWord3 DW3;
CmdFisWord4 DW4;
Uint32
DW5;
Uint32
DW6;
Uint32
DW7;
Uint32
DW8;
Uint32
DW9;
Uint32
DW10;
Uint32
DW11;
Uint32
DW12;
Uint32
DW13;
Uint32
DW14;
Uint32
DW15;
}CommandFIS;
//-----------Command FIS end ATAPI Command ------
// ATAPI Command Data Structure
typedef struct {
Uint32 ATAPI[4];
}Atapi;
//-----------ATAPI Command end PRDT -------------
// Physical Region Descriptor Table Data Structure
typedef struct {
Uint32 DbaLow;
//bits[31:0]
}DbaAddressLow;
typedef struct {
Uint32 DbaHigh; //bits[31:0]
}DbaAddressHigh;
typedef struct {
Uint32 DW2Reserved; //bits[31:0]
}PrdtRsv;
typedef struct {
Uint32 DataBC:22;
//bits[21:0]
}DataByteCnt;
typedef struct {
DbaAddressLow
DW0;
DbaAddressHigh DW1;
PrdtRsv
DW2;
DataByteCnt
DW3;
}PRDT;
//-----------PRDT end ---------------------------
//-----------Command Table Data Structure -------
// Since Command Table has to be 128 bytes = 0x80 bytes aligned if supporting more
//
than a single Command Header, then need to make sure that the Array you are
//
creating for all associated Command Tables match the 128 bytes alignment.
//
In order to do so, the number of PRD Table length you are allocating should be
//
multiples of 8.
typedef struct {
CommandFIS cfis;
Atapi
atapi;
Uint32
Rsv[12];
PRDT
prdTable[16];
// Have forced this size to 8 in order to meet the minimum
1577
SPRUGX9 – 15 April 2011
Serial ATA (SATA) Controller
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...