Package com.diozero.devices
Enum LM73.Configuration
- All Implemented Interfaces:
Serializable
,Comparable<LM73.Configuration>
- Enclosing class:
- LM73
public static enum LM73.Configuration extends Enum<LM73.Configuration>
-
Enum Constant Summary
Enum Constants Enum Constant Description LM73_0_ADDRESS_PIN_FLOAT
LM73_0_ADDRESS_PIN_GROUND
LM73_0_ADDRESS_PIN_VDD
LM73_1_ADDRESS_PIN_FLOAT
LM73_1_ADDRESS_PIN_GROUND
LM73_1_ADDRESS_PIN_VDD
-
Method Summary
Modifier and Type Method Description int
getAddress()
static LM73.Configuration
valueOf(String name)
Returns the enum constant of this type with the specified name.static LM73.Configuration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LM73_0_ADDRESS_PIN_FLOAT
-
LM73_0_ADDRESS_PIN_GROUND
-
LM73_0_ADDRESS_PIN_VDD
-
LM73_1_ADDRESS_PIN_FLOAT
-
LM73_1_ADDRESS_PIN_GROUND
-
LM73_1_ADDRESS_PIN_VDD
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getAddress
public int getAddress()
-