com.rapplogic.xbee
Enum XBeePin.Capability
java.lang.Object
java.lang.Enum<XBeePin.Capability>
com.rapplogic.xbee.XBeePin.Capability
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<XBeePin.Capability>
- Enclosing class:
- XBeePin
public static enum XBeePin.Capability
- extends java.lang.Enum<XBeePin.Capability>
Contains all possible pin configurations and the associated AT command value
- Author:
- andrew
Method Summary |
int |
getValue()
|
static java.lang.String |
printAll(java.lang.String delimiter)
|
static XBeePin.Capability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static XBeePin.Capability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DISABLED
public static final XBeePin.Capability DISABLED
RTS_FLOW_CTRL
public static final XBeePin.Capability RTS_FLOW_CTRL
CTS_FLOW_CTRL
public static final XBeePin.Capability CTS_FLOW_CTRL
RSSI_PWM
public static final XBeePin.Capability RSSI_PWM
ASSOC_LED
public static final XBeePin.Capability ASSOC_LED
ANALOG_INPUT
public static final XBeePin.Capability ANALOG_INPUT
PWM_OUTPUT
public static final XBeePin.Capability PWM_OUTPUT
DIGITAL_INPUT
public static final XBeePin.Capability DIGITAL_INPUT
DIGITAL_OUTPUT_LOW
public static final XBeePin.Capability DIGITAL_OUTPUT_LOW
DIGITAL_OUTPUT_HIGH
public static final XBeePin.Capability DIGITAL_OUTPUT_HIGH
UNMONITORED_INPUT
public static final XBeePin.Capability UNMONITORED_INPUT
NODE_ID_ENABLED
public static final XBeePin.Capability NODE_ID_ENABLED
RS485_TX_LOW
public static final XBeePin.Capability RS485_TX_LOW
RS485_TX_HIGH
public static final XBeePin.Capability RS485_TX_HIGH
values
public static XBeePin.Capability[] 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 (XBeePin.Capability c : XBeePin.Capability.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static XBeePin.Capability valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getValue
public int getValue()
printAll
public static java.lang.String printAll(java.lang.String delimiter)