Class SATA
Inheritance
System.Object
SATA
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Cosmos.HAL2.dll
Syntax
public class SATA : StoragePort
Constructors
|
Improve this Doc
View Source
SATA(PortRegisters)
Declaration
public SATA(PortRegisters aSATAPort)
Parameters
Fields
|
Improve this Doc
View Source
Mem
Declaration
Field Value
|
Improve this Doc
View Source
mPortReg
Declaration
public PortRegisters mPortReg
Field Value
|
Improve this Doc
View Source
RegularSectorSize
Declaration
public const ulong RegularSectorSize = 512UL
Field Value
Type |
Description |
System.UInt64 |
|
Properties
|
Improve this Doc
View Source
FirmwareRev
Declaration
public string FirmwareRev { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ModelNo
Declaration
public string ModelNo { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
mPortName
Declaration
public override string mPortName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
mPortNumber
Declaration
public override uint mPortNumber { get; }
Property Value
Type |
Description |
System.UInt32 |
|
Overrides
|
Improve this Doc
View Source
mPortType
Declaration
public override PortType mPortType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
SerialNo
Declaration
public string SerialNo { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Type
Declaration
public override BlockDeviceType Type { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
GetString(UInt16[], Int32, Int32)
Declaration
protected string GetString(ushort[] aBuffer, int aIndexStart, int aStringLength)
Parameters
Type |
Name |
Description |
System.UInt16[] |
aBuffer |
|
System.Int32 |
aIndexStart |
|
System.Int32 |
aStringLength |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
PortReset(PortRegisters)
Declaration
public static void PortReset(PortRegisters aPort)
Parameters
|
Improve this Doc
View Source
ReadBlock(UInt64, UInt64, ref Byte[])
Declaration
public override void ReadBlock(ulong aBlockNo, ulong aBlockCount, ref byte[] aData)
Parameters
Type |
Name |
Description |
System.UInt64 |
aBlockNo |
|
System.UInt64 |
aBlockCount |
|
System.Byte[] |
aData |
|
Overrides
|
Improve this Doc
View Source
SendSATA28Command(ATACommands, UInt32, UInt32)
Declaration
public void SendSATA28Command(ATACommands aCommand, uint aStart, uint aCount)
Parameters
Type |
Name |
Description |
ATACommands |
aCommand |
|
System.UInt32 |
aStart |
|
System.UInt32 |
aCount |
|
|
Improve this Doc
View Source
SendSATA48Command(ATACommands, UInt64, UInt32)
Declaration
public void SendSATA48Command(ATACommands aCommand, ulong aStart, uint aCount)
Parameters
Type |
Name |
Description |
ATACommands |
aCommand |
|
System.UInt64 |
aStart |
|
System.UInt32 |
aCount |
|
|
Improve this Doc
View Source
SendSATACommand(ATACommands)
Declaration
public void SendSATACommand(ATACommands aCommand)
Parameters
|
Improve this Doc
View Source
WriteBlock(UInt64, UInt64, ref Byte[])
Declaration
public override void WriteBlock(ulong aBlockNo, ulong aBlockCount, ref byte[] aData)
Parameters
Type |
Name |
Description |
System.UInt64 |
aBlockNo |
|
System.UInt64 |
aBlockCount |
|
System.Byte[] |
aData |
|
Overrides