Package com.diozero.devices
Enum Ads112C04.ConfigRegister
- java.lang.Object
-
- java.lang.Enum<Ads112C04.ConfigRegister>
-
- com.diozero.devices.Ads112C04.ConfigRegister
-
- All Implemented Interfaces:
Serializable
,Comparable<Ads112C04.ConfigRegister>
- Enclosing class:
- Ads112C04
public static enum Ads112C04.ConfigRegister extends Enum<Ads112C04.ConfigRegister>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Ads112C04.ConfigRegister
valueOf(String name)
Returns the enum constant of this type with the specified name.static Ads112C04.ConfigRegister[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_0
public static final Ads112C04.ConfigRegister _0
-
_1
public static final Ads112C04.ConfigRegister _1
-
_2
public static final Ads112C04.ConfigRegister _2
-
_3
public static final Ads112C04.ConfigRegister _3
-
-
Method Detail
-
values
public static Ads112C04.ConfigRegister[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Ads112C04.ConfigRegister c : Ads112C04.ConfigRegister.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Ads112C04.ConfigRegister valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-