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