Package be.lmenten.avr.core.register
Enum Class StatusRegister
- All Implemented Interfaces:
Serializable
,Comparable<StatusRegister>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
clear(int value)
int
int
boolean
isCleared(int value)
boolean
isSet(int value)
static StatusRegister
lookup(int s)
int
set(int value)
int
set(int value, boolean state)
int
toggle(int value)
static StatusRegister
Returns the enum constant of this class with the specified name.static StatusRegister[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
C
-
Z
-
N
-
V
-
S
-
H
-
T
-
I
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
lookup
-
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
-
getBSETAlias
-
getBRBCAlias
-
getBRBSAlias
-