public static enum JSerialCommChannelConfig.Paritybit extends Enum<JSerialCommChannelConfig.Paritybit>
| Enum Constant and Description |
|---|
EVEN
An even parity bit will be sent with each data character, ie.
|
MARK
A mark parity bit (ie.
|
NONE
No parity bit will be sent with each data character at all
|
ODD
An odd parity bit will be sent with each data character, ie.
|
SPACE
A space parity bit (ie.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static JSerialCommChannelConfig.Paritybit |
valueOf(int value) |
static JSerialCommChannelConfig.Paritybit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSerialCommChannelConfig.Paritybit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSerialCommChannelConfig.Paritybit NONE
public static final JSerialCommChannelConfig.Paritybit ODD
public static final JSerialCommChannelConfig.Paritybit EVEN
public static final JSerialCommChannelConfig.Paritybit MARK
public static final JSerialCommChannelConfig.Paritybit SPACE
public static JSerialCommChannelConfig.Paritybit[] values()
for (JSerialCommChannelConfig.Paritybit c : JSerialCommChannelConfig.Paritybit.values()) System.out.println(c);
public static JSerialCommChannelConfig.Paritybit 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 value()
public static JSerialCommChannelConfig.Paritybit valueOf(int value)
Copyright © 2017. All rights reserved.