Package com.ftdi

Enum Class StopBits

All Implemented Interfaces:
Serializable, Comparable<StopBits>, java.lang.constant.Constable

public enum StopBits extends Enum<StopBits>
Number of stop bits
Author:
Peter Kocsis invalid input: '<'p. kocsis. 2. 7182 at gmail.com>
  • Enum Constant Details

    • STOP_BITS_1

      public static final StopBits STOP_BITS_1
    • STOP_BITS_2

      public static final StopBits STOP_BITS_2
  • Method Details

    • values

      public static StopBits[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static StopBits valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null