public static enum SerialCommConfig.ParityBits extends java.lang.Enum<SerialCommConfig.ParityBits>
| Enum Constant and Description | 
|---|
EVEN
Sets the parity bit so that the count of bits set is an even number 
 | 
MARK
Leaves the parity bit set to 1 
 | 
NONE
No parity check occurs 
 | 
ODD
Sets the parity bit so that the count of bits set is an odd number 
 | 
SPACE
Leaves the parity bit set to 0 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static SerialCommConfig.ParityBits | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static SerialCommConfig.ParityBits[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final SerialCommConfig.ParityBits NONE
public static final SerialCommConfig.ParityBits ODD
public static final SerialCommConfig.ParityBits EVEN
public static final SerialCommConfig.ParityBits MARK
public static final SerialCommConfig.ParityBits SPACE
public static SerialCommConfig.ParityBits[] values()
for (SerialCommConfig.ParityBits c : SerialCommConfig.ParityBits.values()) System.out.println(c);
public static SerialCommConfig.ParityBits valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null