edu.wpi.first.wpilibj
Class SerialPort.Parity

java.lang.Object
  extended by edu.wpi.first.wpilibj.SerialPort.Parity
Enclosing class:
SerialPort

public static class SerialPort.Parity
extends java.lang.Object

Represents the parity to use for serial communications


Field Summary
static SerialPort.Parity kEven
          parity: Use even parity
static SerialPort.Parity kMark
          parity: Use mark parity
static SerialPort.Parity kNone
          parity: Use no parity
static SerialPort.Parity kOdd
          parity: Use odd parity
static SerialPort.Parity kSpace
          parity: Use space parity
 int value
          The integer value representing this enumeration
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public final int value
The integer value representing this enumeration


kNone

public static final SerialPort.Parity kNone
parity: Use no parity


kOdd

public static final SerialPort.Parity kOdd
parity: Use odd parity


kEven

public static final SerialPort.Parity kEven
parity: Use even parity


kMark

public static final SerialPort.Parity kMark
parity: Use mark parity


kSpace

public static final SerialPort.Parity kSpace
parity: Use space parity