public enum Baud extends Enum<Baud>
Enum Constant and Description |
---|
_110 |
_115200 |
_1200 |
_134 |
_150 |
_1800 |
_19200 |
_200 |
_230400 |
_2400 |
_300 |
_38400 |
_4800 |
_50 |
_57600 |
_600 |
_75 |
_9600 |
Modifier and Type | Method and Description |
---|---|
static Baud |
getInstance(int baud_rate) |
int |
getValue() |
static Baud |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Baud[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Baud[] values()
for (Baud c : Baud.values()) System.out.println(c);
public static Baud valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static Baud getInstance(int baud_rate)
Copyright © 2012–2021 Pi4J. All rights reserved.