Package peak.can.basic
Enum TPCANBitrateFDValue
- All Implemented Interfaces:
Serializable
,Comparable<TPCANBitrateFDValue>
,java.lang.constant.Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionClock frequency in Herz (80000000, 60000000, 40000000, 30000000, 24000000, 20000000)Clock frequency in Megaherz (80, 60, 40, 30, 24, 20)Clock prescaler for highspeed data time quantumSecondary sample point delay for highspeed data bitrate in cylesSynchronization Jump Width for highspeed data bit rate in time quantaTSEG1 segment for fast data bit rate in time quantaTSEG2 segment for fast data bit rate in time quantaClock prescaler for nominal time quantumSample point for nominal bit rateSynchronization Jump Width for nominal bit rate in time quantaTSEG1 segment for nominal bit rate in time quantaTSEG2 segment for nominal bit rate in time quanta -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
The string value of Bitrate FD string parameterstatic TPCANBitrateFDValue
Returns the enum constant of this type with the specified name.static TPCANBitrateFDValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PCAN_BR_CLOCK
Clock frequency in Herz (80000000, 60000000, 40000000, 30000000, 24000000, 20000000) -
PCAN_BR_CLOCK_MHZ
Clock frequency in Megaherz (80, 60, 40, 30, 24, 20) -
PCAN_BR_NOM_BRP
Clock prescaler for nominal time quantum -
PCAN_BR_NOM_TSEG1
TSEG1 segment for nominal bit rate in time quanta -
PCAN_BR_NOM_TSEG2
TSEG2 segment for nominal bit rate in time quanta -
PCAN_BR_NOM_SJW
Synchronization Jump Width for nominal bit rate in time quanta -
PCAN_BR_NOM_SAMPLE
Sample point for nominal bit rate -
PCAN_BR_DATA_BRP
Clock prescaler for highspeed data time quantum -
PCAN_BR_DATA_TSEG1
TSEG1 segment for fast data bit rate in time quanta -
PCAN_BR_DATA_TSEG2
TSEG2 segment for fast data bit rate in time quanta -
PCAN_BR_DATA_SJW
Synchronization Jump Width for highspeed data bit rate in time quanta -
PCAN_BR_DATA_SAMPLE
Secondary sample point delay for highspeed data bitrate in cyles
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
The string value of Bitrate FD string parameter- Returns:
- String corresponding to the bitrate FD string parameter
-