Enum Class StatusRegister

java.lang.Object
java.lang.Enum<StatusRegister>
be.lmenten.avr.core.register.StatusRegister
All Implemented Interfaces:
Serializable, Comparable<StatusRegister>, Constable

public enum StatusRegister extends Enum<StatusRegister>
  • Enum Constant Details

  • Method Details

    • values

      public static StatusRegister[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static StatusRegister valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • lookup

      public static StatusRegister lookup(int s)
    • getOperandIndex

      public int getOperandIndex()
    • getBitMask

      public int getBitMask()
    • isSet

      public boolean isSet(int value)
    • isCleared

      public boolean isCleared(int value)
    • set

      public int set(int value, boolean state)
    • set

      public int set(int value)
    • clear

      public int clear(int value)
    • toggle

      public int toggle(int value)
    • getBCLRAlias

      public InstructionSet getBCLRAlias()
    • getBSETAlias

      public InstructionSet getBSETAlias()
    • getBRBCAlias

      public InstructionSet getBRBCAlias()
    • getBRBSAlias

      public InstructionSet getBRBSAlias()