Enum BaudRate

  • java.lang.Object
    • java.lang.Enum<BaudRate>
      • com.zentri.zentri_ble_command.BaudRate
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BaudRate>

public enum BaudRate
extends java.lang.Enum<BaudRate>
See Also:
setUARTBaudRate()

Enum Constant Summary

Enum Constant and Description
BAUD_1000000 
BAUD_115200 
BAUD_128000 
BAUD_14400 
BAUD_1500000 
BAUD_153600 
BAUD_19200 
BAUD_230400 
BAUD_256000 
BAUD_28800 
BAUD_38400 
BAUD_460800 
BAUD_56000 
BAUD_57600 
BAUD_921600 
BAUD_9600 

Method Summary

Modifier and Type Method and Description
java.lang.String toString() 
static BaudRate valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
static BaudRate[] values()
Returns an array containing the constants of this enum type, in the order they are declared.
  • Methods inherited from class java.lang.Enum

    compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
  • Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

Enum Constant Detail

  • BAUD_9600

    public static final BaudRate BAUD_9600
  • BAUD_14400

    public static final BaudRate BAUD_14400
  • BAUD_19200

    public static final BaudRate BAUD_19200
  • BAUD_28800

    public static final BaudRate BAUD_28800
  • BAUD_38400

    public static final BaudRate BAUD_38400
  • BAUD_56000

    public static final BaudRate BAUD_56000
  • BAUD_57600

    public static final BaudRate BAUD_57600
  • BAUD_115200

    public static final BaudRate BAUD_115200
  • BAUD_128000

    public static final BaudRate BAUD_128000
  • BAUD_153600

    public static final BaudRate BAUD_153600
  • BAUD_230400

    public static final BaudRate BAUD_230400
  • BAUD_256000

    public static final BaudRate BAUD_256000
  • BAUD_460800

    public static final BaudRate BAUD_460800
  • BAUD_921600

    public static final BaudRate BAUD_921600
  • BAUD_1000000

    public static final BaudRate BAUD_1000000
  • BAUD_1500000

    public static final BaudRate BAUD_1500000

Method Detail

  • values

    public static BaudRate[] 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 (BaudRate c : BaudRate.values())
        System.out.println(c);
    
    Returns:
    an array containing the constants of this enum type, in the order they are declared
  • valueOf

    public static BaudRate 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
  • toString

    public java.lang.String toString()
    Overrides:
    toString in class java.lang.Enum<BaudRate>