Package com.diozero.devices.sandpit
Enum Max30102.SpO2AdcRange
- java.lang.Object
-
- java.lang.Enum<Max30102.SpO2AdcRange>
-
- com.diozero.devices.sandpit.Max30102.SpO2AdcRange
-
- All Implemented Interfaces:
Serializable
,Comparable<Max30102.SpO2AdcRange>
- Enclosing class:
- Max30102
public static enum Max30102.SpO2AdcRange extends Enum<Max30102.SpO2AdcRange>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFullScale()
float
getLsbSize()
static Max30102.SpO2AdcRange
valueOf(String name)
Returns the enum constant of this type with the specified name.static Max30102.SpO2AdcRange[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_2048
public static final Max30102.SpO2AdcRange _2048
-
_4096
public static final Max30102.SpO2AdcRange _4096
-
_8192
public static final Max30102.SpO2AdcRange _8192
-
_16384
public static final Max30102.SpO2AdcRange _16384
-
-
Method Detail
-
values
public static Max30102.SpO2AdcRange[] 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 (Max30102.SpO2AdcRange c : Max30102.SpO2AdcRange.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Max30102.SpO2AdcRange 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
-
getLsbSize
public float getLsbSize()
-
getFullScale
public int getFullScale()
-
-