|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TPCANBaudrate>
peak.can.basic.TPCANBaudrate
public 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 |
---|
public static final TPCANBaudrate PCAN_BAUD_1M
public static final TPCANBaudrate PCAN_BAUD_500K
public static final TPCANBaudrate PCAN_BAUD_250K
public static final TPCANBaudrate PCAN_BAUD_125K
public static final TPCANBaudrate PCAN_BAUD_100K
public static final TPCANBaudrate PCAN_BAUD_50K
public static final TPCANBaudrate PCAN_BAUD_20K
public static final TPCANBaudrate PCAN_BAUD_10K
public static final TPCANBaudrate PCAN_BAUD_5K
Method Detail |
---|
public static TPCANBaudrate[] values()
for (TPCANBaudrate c : TPCANBaudrate.values()) System.out.println(c);
public static TPCANBaudrate 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 name
java.lang.NullPointerException
- if the argument is nullpublic int getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |