Package com.diozero.devices
Enum Ads112C04.InputMultiplexerConfig
- java.lang.Object
-
- java.lang.Enum<Ads112C04.InputMultiplexerConfig>
-
- com.diozero.devices.Ads112C04.InputMultiplexerConfig
-
- All Implemented Interfaces:
Serializable
,Comparable<Ads112C04.InputMultiplexerConfig>
- Enclosing class:
- Ads112C04
public static enum Ads112C04.InputMultiplexerConfig extends Enum<Ads112C04.InputMultiplexerConfig>
Input multiplexer configuration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AIN0_AIN1
AINP = AIN0, AINN = AIN1 (default)AIN0_AIN2
AINP = AIN0, AINN = AIN2AIN0_AIN3
AINP = AIN0, AINN = AIN3AIN0_AVSS
AINP = AIN0, AINN = AVSSAIN1_AIN0
AINP = AIN1, AINN = AIN0AIN1_AIN2
AINP = AIN1, AINN = AIN2AIN1_AIN3
AINP = AIN3, AINN = AIN2AIN1_AVSS
AINP = AIN1, AINN = AVSSAIN2_AIN3
AINP = AIN2, AINN = AIN3AIN2_AVSS
AINP = AIN2, AINN = AVSSAIN3_AIN2
AINP = AIN1, AINN = AIN3AIN3_AVSS
AINP = AIN3, AINN = AVSSAVDD_AVSS_DIV_4
(AVDD – AVSS) / 4 monitor (PGA bypassed)AVDD_PLUS_AVSS_DIV_2
AINP and AINN shorted to (AVDD + AVSS) / 2VREFP_VREFN_DIV_4
(V(REFP) – V(REFN)) / 4 monitor (PGA bypassed)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCompareToAvss()
static Ads112C04.InputMultiplexerConfig
valueOf(String name)
Returns the enum constant of this type with the specified name.static Ads112C04.InputMultiplexerConfig[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AIN0_AIN1
public static final Ads112C04.InputMultiplexerConfig AIN0_AIN1
AINP = AIN0, AINN = AIN1 (default)
-
AIN0_AIN2
public static final Ads112C04.InputMultiplexerConfig AIN0_AIN2
AINP = AIN0, AINN = AIN2
-
AIN0_AIN3
public static final Ads112C04.InputMultiplexerConfig AIN0_AIN3
AINP = AIN0, AINN = AIN3
-
AIN1_AIN0
public static final Ads112C04.InputMultiplexerConfig AIN1_AIN0
AINP = AIN1, AINN = AIN0
-
AIN1_AIN2
public static final Ads112C04.InputMultiplexerConfig AIN1_AIN2
AINP = AIN1, AINN = AIN2
-
AIN1_AIN3
public static final Ads112C04.InputMultiplexerConfig AIN1_AIN3
AINP = AIN3, AINN = AIN2
-
AIN2_AIN3
public static final Ads112C04.InputMultiplexerConfig AIN2_AIN3
AINP = AIN2, AINN = AIN3
-
AIN3_AIN2
public static final Ads112C04.InputMultiplexerConfig AIN3_AIN2
AINP = AIN1, AINN = AIN3
-
AIN0_AVSS
public static final Ads112C04.InputMultiplexerConfig AIN0_AVSS
AINP = AIN0, AINN = AVSS
-
AIN1_AVSS
public static final Ads112C04.InputMultiplexerConfig AIN1_AVSS
AINP = AIN1, AINN = AVSS
-
AIN2_AVSS
public static final Ads112C04.InputMultiplexerConfig AIN2_AVSS
AINP = AIN2, AINN = AVSS
-
AIN3_AVSS
public static final Ads112C04.InputMultiplexerConfig AIN3_AVSS
AINP = AIN3, AINN = AVSS
-
VREFP_VREFN_DIV_4
public static final Ads112C04.InputMultiplexerConfig VREFP_VREFN_DIV_4
(V(REFP) – V(REFN)) / 4 monitor (PGA bypassed)
-
AVDD_AVSS_DIV_4
public static final Ads112C04.InputMultiplexerConfig AVDD_AVSS_DIV_4
(AVDD – AVSS) / 4 monitor (PGA bypassed)
-
AVDD_PLUS_AVSS_DIV_2
public static final Ads112C04.InputMultiplexerConfig AVDD_PLUS_AVSS_DIV_2
AINP and AINN shorted to (AVDD + AVSS) / 2
-
-
Method Detail
-
values
public static Ads112C04.InputMultiplexerConfig[] 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.InputMultiplexerConfig c : Ads112C04.InputMultiplexerConfig.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.InputMultiplexerConfig 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
-
isCompareToAvss
public boolean isCompareToAvss()
-
-