Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

## peak.can.basic
Enum TPCANBaudrate

    java.lang.Object
      java.lang.Enum<TPCANBaudrate>
          peak.can.basic.TPCANBaudrate

All Implemented Interfaces:
  java.io.Serializable, java.lang.Comparable<TPCANBaudrate>

    public enum TPCANBaudrate

extends java.lang.Enum<TPCANBaudrate>

Baud rate codes = BTR0/BTR1 register values for the CAN controller. You can define your own Baud rate with the BTROBTR1 register. Take a look at www.peak-system.com for our free software "BAUDTOOL" to calculate the BTROBTR1 register for every baudrate and sample point.

Enum Constant Summary
`PCAN_BAUD_100K` 100 kBit/s
`PCAN_BAUD_10K` 10 kBit/s
`PCAN_BAUD_125K` 125 kBit/s
`PCAN_BAUD_1M` 1 MBit/s
`PCAN_BAUD_20K` 20 kBit/s
`PCAN_BAUD_250K` 250 kBit/s
`PCAN_BAUD_500K` 500 kBit/s
`PCAN_BAUD_50K` 50 kBit/s
`PCAN_BAUD_5K` 5 kBit/s

Method Summary
`int` | `getValue()`
`static TPCANBaudrate` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
`static TPCANBaudrate[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

Methods inherited from class java.lang.Enum
`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Enum Constant Detail

### PCAN_BAUD_1M

    public static final TPCANBaudrate PCAN_BAUD_1M

  1 MBit/s

### PCAN_BAUD_500K

    public static final TPCANBaudrate PCAN_BAUD_500K

  500 kBit/s

### PCAN_BAUD_250K

    public static final TPCANBaudrate PCAN_BAUD_250K

  250 kBit/s

### PCAN_BAUD_125K

    public static final TPCANBaudrate PCAN_BAUD_125K

  125 kBit/s

### PCAN_BAUD_100K

    public static final TPCANBaudrate PCAN_BAUD_100K

  100 kBit/s

### PCAN_BAUD_50K

    public static final TPCANBaudrate PCAN_BAUD_50K

  50 kBit/s

### PCAN_BAUD_20K

    public static final TPCANBaudrate PCAN_BAUD_20K

  20 kBit/s

### PCAN_BAUD_10K

    public static final TPCANBaudrate PCAN_BAUD_10K

  10 kBit/s

### PCAN_BAUD_5K

    public static final TPCANBaudrate PCAN_BAUD_5K

  5 kBit/s

Method Detail

### values

    public static TPCANBaudrate[] values()

  Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

      for (TPCANBaudrate c : TPCANBaudrate.values())
          System.out.println(c);

  Returns:
    an array containing the constants of this enum type, in the order they are declared

### valueOf

    public static TPCANBaudrate valueOf(java.lang.String name)

  Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
    `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
    `java.lang.NullPointerException` - if the argument is null

### getValue

    public int getValue()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD