|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ATACommand> dioscuri.module.ata.ATACommand
public enum ATACommand
An enumeration representing all the ATA commands.
Method Summary | |
---|---|
int |
getAddress()
Get the address of the command. |
static ATACommand |
getCommand(int portAddress)
Get the command corresponding to the address |
java.lang.String |
getName()
Gets the name of the command. |
java.lang.String |
toString()
Gets the string name of the command. |
static ATACommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ATACommand[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ATACommand READ_SECTORS_WITH_RETRY
public static final ATACommand READ_SECTORS_WITHOUT_RETRY
public static final ATACommand IDENTIFY_DRIVE
public static final ATACommand WRITE_SECTORS_WITH_RETRY
public static final ATACommand WRITE_MULTIPLE
public static final ATACommand PACKET_A0
public static final ATACommand PACKET_A1
public static final ATACommand DEVICE_RESET
public static final ATACommand RECALIBRATE
public static final ATACommand READ_LONG_WITH_RETRY
public static final ATACommand READ_LONG_WITHOUT_RETRY
public static final ATACommand READ_SECTORS_EXT
public static final ATACommand READ_DMA_EXT
public static final ATACommand READ_DMA_QUEUED_EXT
public static final ATACommand READ_NATIVE_MAX_ADDRESS_EXT
public static final ATACommand READ_MULTIPLE_EXT
public static final ATACommand READ_STREAM_DMA
public static final ATACommand READ_STREAM_PIO
public static final ATACommand READ_LOG_EXT
public static final ATACommand WRITE_SECTORS_WITHOUT_RETRY
public static final ATACommand WRITE_LONG_SECTORS_WITH_RETRY
public static final ATACommand WRITE_LONG_SECTORS_WITHOUT_RETRY
public static final ATACommand WRITE_SECTORS_EXT
public static final ATACommand WRITE_DMA_EXT
public static final ATACommand WRITE_DMA_QUEUED_EXT
public static final ATACommand SET_MAX_ADDRESS_EXT
public static final ATACommand CFA_WRITE_SECTORS_WITHOUT_ERASE
public static final ATACommand WRITE_MULTIPLE_EXT
public static final ATACommand WRITE_STREAM_DMA
public static final ATACommand WRITE_STREAM_PIO
public static final ATACommand WRITE_LOG_EXT
public static final ATACommand READ_VERIFY_SECTOR_WITH_RETRY
public static final ATACommand READ_VERIFY_SECTOR_WITHOUT_RETRY
public static final ATACommand READ_VERIFY_SECTORS_EXT
public static final ATACommand FORMAT_TRACK
public static final ATACommand CONFIGURE_STREAM
public static final ATACommand SEEK
public static final ATACommand CFA_TRANSLATE_SECTOR
public static final ATACommand EXECUTE_DEVICE_DIAGNOSTIC
public static final ATACommand INITIALIZE_DEVICE_PARAMETERS
public static final ATACommand DOWNLOAD_MICROCODE
public static final ATACommand STANDBY_IMMEDIATE
public static final ATACommand IDLE_IMMEDIATE
public static final ATACommand STANDBY
public static final ATACommand IDLE
public static final ATACommand CHECK_POWER_MODE
public static final ATACommand SLEEP
public static final ATACommand SERVICE
public static final ATACommand SMART_DISABLE_OPERATIONS
public static final ATACommand DEVICE_CONFIGURATION_FREEZE_LOCK
public static final ATACommand CFA_ERASE_SECTORS
public static final ATACommand READ_MULTIPLE
public static final ATACommand SET_MULTIPLE_MOD
public static final ATACommand READ_DMA_QUEUED
public static final ATACommand READ_DMA
public static final ATACommand READ_DMA_NO_RETRY
public static final ATACommand WRITE_DMA
public static final ATACommand WRITE_DMA_QUEUED
public static final ATACommand CFA_WRITE_MULTIPLE_WITHOUT_ERASED
public static final ATACommand CHECK_MEDIA_CARD_TYPE
public static final ATACommand GET_MEDIA_STATUS
public static final ATACommand MEDIA_LOCK
public static final ATACommand MEDIA_UNLOCK
public static final ATACommand STANDBY_IMMEDIATE_2
public static final ATACommand IDLE_IMMEDIATE_2
public static final ATACommand STANDBY_2
public static final ATACommand IDLE_2
public static final ATACommand READ_BUFFER_2
public static final ATACommand CHECK_POWER_MODE_2
public static final ATACommand SLEEP_2
public static final ATACommand FLUSH_CACHE
public static final ATACommand WRITE_BUFFER
public static final ATACommand FLUSH_CACHE_EXT
public static final ATACommand MEDIA_EJECT
public static final ATACommand SET_FEATURES
public static final ATACommand SECURITY_SET_PASSWORD
public static final ATACommand SECURITY_UNLOCK
public static final ATACommand SECURITY_ERASE_PREPARE
public static final ATACommand SECURITY_ERASE_UNIT
public static final ATACommand SECURITY_FREEZE_LOCK
public static final ATACommand SECURITY_DISABLE_PASSWORD
public static final ATACommand READ_NATIVE_MAX_ADDRESS
public static final ATACommand SET_MAX_ADDRESS
Method Detail |
---|
public static ATACommand[] values()
for (ATACommand c : ATACommand.values()) System.out.println(c);
public static ATACommand valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static ATACommand getCommand(int portAddress)
portAddress
- the port address
public java.lang.String toString()
toString
in class java.lang.Enum<ATACommand>
public java.lang.String getName()
public int getAddress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |