edu.uiuc.cs.seclab.modem.xbee.cmd
Enum XBeeDioCmd.PortConf

java.lang.Object
  extended by java.lang.Enum<XBeeDioCmd.PortConf>
      extended by edu.uiuc.cs.seclab.modem.xbee.cmd.XBeeDioCmd.PortConf
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XBeeDioCmd.PortConf>
Enclosing class:
XBeeDioCmd

public static enum XBeeDioCmd.PortConf
extends java.lang.Enum<XBeeDioCmd.PortConf>


Enum Constant Summary
ADC
          N/A on ports 6-7
ASSOC_RTS_CTS_IND
          Ports 0-4: n/a Port 5: associated indicator Port 6: RTS Port 7: CTS
DIGI_IN
          Port 8 ONLY supports 0 and 3
DIGI_OUT_HIGH
           
DIGI_OUT_LOW
           
DISABLED
           
 
Field Summary
 byte code
           
 
Method Summary
static XBeeDioCmd.PortConf valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XBeeDioCmd.PortConf[] 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
 

Enum Constant Detail

ADC

public static final XBeeDioCmd.PortConf ADC
N/A on ports 6-7


ASSOC_RTS_CTS_IND

public static final XBeeDioCmd.PortConf ASSOC_RTS_CTS_IND
Ports 0-4: n/a Port 5: associated indicator Port 6: RTS Port 7: CTS


DIGI_IN

public static final XBeeDioCmd.PortConf DIGI_IN
Port 8 ONLY supports 0 and 3


DIGI_OUT_HIGH

public static final XBeeDioCmd.PortConf DIGI_OUT_HIGH

DIGI_OUT_LOW

public static final XBeeDioCmd.PortConf DIGI_OUT_LOW

DISABLED

public static final XBeeDioCmd.PortConf DISABLED
Field Detail

code

public byte code
Method Detail

valueOf

public static XBeeDioCmd.PortConf 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

values

public static XBeeDioCmd.PortConf[] 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 (XBeeDioCmd.PortConf c : XBeeDioCmd.PortConf.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared