Class AtaPio
Inheritance
System.Object
AtaPio
Assembly: Cosmos.HAL2.dll
Syntax
public class AtaPio : Ata
Constructors
|
Improve this Doc
View Source
AtaPio(ATA, Ata.ControllerIdEnum, Ata.BusPositionEnum)
Declaration
public AtaPio(ATA aIO, Ata.ControllerIdEnum aControllerId, Ata.BusPositionEnum aBusPosition)
Parameters
Fields
|
Improve this Doc
View Source
IO
Declaration
Field Value
|
Improve this Doc
View Source
LBA48Bit
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
mDriveType
Declaration
protected AtaPio.SpecLevel mDriveType
Field Value
|
Improve this Doc
View Source
mFirmwareRev
Declaration
protected string mFirmwareRev
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
mModelNo
Declaration
protected string mModelNo
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
mSerialNo
Declaration
protected string mSerialNo
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
DriveType
Declaration
public AtaPio.SpecLevel DriveType { get; }
Property Value
|
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
SerialNo
Declaration
public string SerialNo { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
DiscoverDrive()
Declaration
public AtaPio.SpecLevel DiscoverDrive()
Returns
|
Improve this Doc
View Source
GetString(UInt16[], Int32, Int32)
Declaration
protected string GetString(UInt16[] aBuffer, int aIndexStart, int aStringLength)
Parameters
Type |
Name |
Description |
UInt16[] |
aBuffer |
|
System.Int32 |
aIndexStart |
|
System.Int32 |
aStringLength |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
InitDrive()
Declaration
protected void InitDrive()
|
Improve this Doc
View Source
ReadBlock(UInt64, UInt64, ref Byte[])
Declaration
public override void ReadBlock(UInt64 aBlockNo, UInt64 aBlockCount, ref byte[] aData)
Parameters
Type |
Name |
Description |
UInt64 |
aBlockNo |
|
UInt64 |
aBlockCount |
|
System.Byte[] |
aData |
|
Overrides
|
Improve this Doc
View Source
SelectDrive(Byte)
Declaration
public void SelectDrive(byte aLbaHigh4)
Parameters
Type |
Name |
Description |
System.Byte |
aLbaHigh4 |
|
|
Improve this Doc
View Source
SelectSector(UInt64, UInt64)
Declaration
protected void SelectSector(UInt64 aSectorNo, UInt64 aSectorCount)
Parameters
Type |
Name |
Description |
UInt64 |
aSectorNo |
|
UInt64 |
aSectorCount |
|
|
Improve this Doc
View Source
SendCmd(AtaPio.Cmd)
Declaration
public AtaPio.Status SendCmd(AtaPio.Cmd aCmd)
Parameters
Returns
|
Improve this Doc
View Source
SendCmd(AtaPio.Cmd, Boolean)
Declaration
public AtaPio.Status SendCmd(AtaPio.Cmd aCmd, bool aThrowOnError)
Parameters
Type |
Name |
Description |
AtaPio.Cmd |
aCmd |
|
System.Boolean |
aThrowOnError |
|
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
Wait()
Declaration
|
Improve this Doc
View Source
WriteBlock(UInt64, UInt64, ref Byte[])
Declaration
public override void WriteBlock(UInt64 aBlockNo, UInt64 aBlockCount, ref byte[] aData)
Parameters
Type |
Name |
Description |
UInt64 |
aBlockNo |
|
UInt64 |
aBlockCount |
|
System.Byte[] |
aData |
|
Overrides