Texas Instruments TMS320C6A816 Series Technical Reference Manual page 1577

C6-integra dsp+arm processors
Table of Contents

Advertisement

www.ti.com
Uint32 B1SecCntExp:8; //bits[15:8]
Uint32 B2Rsv:8;
Uint32 B3Control:8;
}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;
}DbaAddressLow;
typedef struct {
Uint32 DbaHigh; //bits[31:0]
}DbaAddressHigh;
typedef struct {
Uint32 DW2Reserved; //bits[31:0]
}PrdtRsv;
typedef struct {
Uint32 DataBC:22;
}DataByteCnt;
typedef struct {
DbaAddressLow
DbaAddressHigh DW1;
PrdtRsv
DataByteCnt
}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];
SPRUGX9 – 15 April 2011
Submit Documentation Feedback
Preliminary
//bits[23:16]
//bits[31:24]
//bits[31:0]
//bits[21:0]
DW0;
DW2;
DW3;
// Have forced this size to 8 in order to meet the minimum
© 2011, Texas Instruments Incorporated
Use Cases
Serial ATA (SATA) Controller
1577

Advertisement

Table of Contents
loading

Table of Contents