public enum PORTFUNCTION extends java.lang.Enum<PORTFUNCTION>
Enum Constant and Description |
---|
ALT0 |
ALT1 |
ALT2 |
ALT3 |
ALT4 |
ALT5 |
GND |
INPUT |
OUTPUT |
PWM |
UNKNOWN |
V33 |
V50 |
Modifier and Type | Method and Description |
---|---|
PORTFUNCTION |
parseString(java.lang.String s) |
java.lang.String |
toString() |
static PORTFUNCTION |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PORTFUNCTION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PORTFUNCTION INPUT
public static final PORTFUNCTION OUTPUT
public static final PORTFUNCTION ALT0
public static final PORTFUNCTION ALT1
public static final PORTFUNCTION ALT2
public static final PORTFUNCTION ALT3
public static final PORTFUNCTION ALT4
public static final PORTFUNCTION ALT5
public static final PORTFUNCTION V33
public static final PORTFUNCTION V50
public static final PORTFUNCTION GND
public static final PORTFUNCTION PWM
public static final PORTFUNCTION UNKNOWN
public static PORTFUNCTION[] values()
for (PORTFUNCTION c : PORTFUNCTION.values()) System.out.println(c);
public static PORTFUNCTION 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<PORTFUNCTION>
public PORTFUNCTION parseString(java.lang.String s)