Package com.diozero.devices
Enum Ads112C04.CrcConfig
- java.lang.Object
-
- java.lang.Enum<Ads112C04.CrcConfig>
-
- com.diozero.devices.Ads112C04.CrcConfig
-
- All Implemented Interfaces:
Serializable
,Comparable<Ads112C04.CrcConfig>
- Enclosing class:
- Ads112C04
public static enum Ads112C04.CrcConfig extends Enum<Ads112C04.CrcConfig>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CRC16
DISABLED
INVERTED_DATA_OUTPUT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Ads112C04.CrcConfig
valueOf(String name)
Returns the enum constant of this type with the specified name.static Ads112C04.CrcConfig[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final Ads112C04.CrcConfig DISABLED
-
INVERTED_DATA_OUTPUT
public static final Ads112C04.CrcConfig INVERTED_DATA_OUTPUT
-
CRC16
public static final Ads112C04.CrcConfig CRC16
-
-
Method Detail
-
values
public static Ads112C04.CrcConfig[] 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.CrcConfig c : Ads112C04.CrcConfig.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.CrcConfig 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
-
-