public static enum TwiMaster.Rate extends java.lang.Enum<TwiMaster.Rate>
| Enum Constant and Description |
|---|
RATE_100KHz |
RATE_1MHz |
RATE_400KHz |
| Modifier and Type | Method and Description |
|---|---|
static TwiMaster.Rate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TwiMaster.Rate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TwiMaster.Rate RATE_100KHz
public static final TwiMaster.Rate RATE_400KHz
public static final TwiMaster.Rate RATE_1MHz
public static TwiMaster.Rate[] values()
for (TwiMaster.Rate c : TwiMaster.Rate.values()) System.out.println(c);
public static TwiMaster.Rate valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null