Enum Class TPCANBitrateXLValue
- All Implemented Interfaces:
Serializable,Comparable<TPCANBitrateXLValue>,Constable
Bitrate parameters composing a TPCANBitrateXL. Take a look at
www.peak-system.com for our free software "Bit Rate Calculation Tool" to
calculate the bitrate string 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 prescaler for nominal, CAN FD and CAN XL bit ratesClock 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 quantaSynchronization Jump Width for fast data bit rate in time quantaSecondary sample point delay for fast data bit rate in cyclesClock prescaler for fast data time quantumClock prescaler for fast data time quantumClock 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 quantaXL error signaling 1 = Error Signaling with Error Frame in case of bus errors 0 = No Error SignalingCAN XL PWM Long phase in mtq ticks == f_cancore cyclesCAN XL PWM Offset in mtq ticks == f_cancore cyclesCAN XL PWM Short phase in mtq ticks == f_cancore cyclesSynchronization Jump Width for XL bit rate in time quantaSecondary sample point delay for XL bit rate in cyclesXL transceiver mode switch 1 = CAN XL Data Phase uses 'fast TX' or 'fast RX' with PWM encoding 0 = CAN XL Data Phase uses no PWM encoding (recessive/dominant only, like CAN FD)Clock prescaler for XL time quantumClock prescaler for XL time quantum -
Method Summary
Modifier and TypeMethodDescriptiongetValue()The string value of Bitrate XL string parameterstatic TPCANBitrateXLValueReturns the enum constant of this class with the specified name.static TPCANBitrateXLValue[]values()Returns an array containing the constants of this enum class, 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 -
PCAN_BR_BRP
Clock prescaler for nominal, CAN FD and CAN XL bit rates -
PCAN_BR_FD_TSEG1
Clock prescaler for fast data time quantum -
PCAN_BR_FD_TSEG2
Clock prescaler for fast data time quantum -
PCAN_BR_FD_SJW
Synchronization Jump Width for fast data bit rate in time quanta -
PCAN_BR_FD_SSP_OFFSET
Secondary sample point delay for fast data bit rate in cycles -
PCAN_BR_XL_TSEG1
Clock prescaler for XL time quantum -
PCAN_BR_XL_TSEG2
Clock prescaler for XL time quantum -
PCAN_BR_XL_SJW
Synchronization Jump Width for XL bit rate in time quanta -
PCAN_BR_XL_SSP_OFFSET
Secondary sample point delay for XL bit rate in cycles -
PCAN_BR_XL_PWM_OFFSET
CAN XL PWM Offset in mtq ticks == f_cancore cycles -
PCAN_BR_XL_PWM_SHORT
CAN XL PWM Short phase in mtq ticks == f_cancore cycles -
PCAN_BR_XL_PWM_LONG
CAN XL PWM Long phase in mtq ticks == f_cancore cycles -
PCAN_BR_XL_TRANSCEIVER_MODE_SWITCH
XL transceiver mode switch 1 = CAN XL Data Phase uses 'fast TX' or 'fast RX' with PWM encoding 0 = CAN XL Data Phase uses no PWM encoding (recessive/dominant only, like CAN FD) -
PCAN_BR_XL_ERROR_SIGNALING
XL error signaling 1 = Error Signaling with Error Frame in case of bus errors 0 = No Error Signaling
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
The string value of Bitrate XL string parameter- Returns:
- String corresponding to the bitrate XL string parameter
-