Enum Class TPCANBitrateXLValue

java.lang.Object
java.lang.Enum<TPCANBitrateXLValue>
peak.can.basic.TPCANBitrateXLValue
All Implemented Interfaces:
Serializable, Comparable<TPCANBitrateXLValue>, Constable

public enum TPCANBitrateXLValue extends Enum<TPCANBitrateXLValue>
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.
  • Enum Constant Details

    • PCAN_BR_CLOCK

      public static final TPCANBitrateXLValue PCAN_BR_CLOCK
      Clock frequency in Herz (80000000, 60000000, 40000000, 30000000, 24000000, 20000000)
    • PCAN_BR_CLOCK_MHZ

      public static final TPCANBitrateXLValue PCAN_BR_CLOCK_MHZ
      Clock frequency in Megaherz (80, 60, 40, 30, 24, 20)
    • PCAN_BR_NOM_BRP

      public static final TPCANBitrateXLValue PCAN_BR_NOM_BRP
      Clock prescaler for nominal time quantum
    • PCAN_BR_NOM_TSEG1

      public static final TPCANBitrateXLValue PCAN_BR_NOM_TSEG1
      TSEG1 segment for nominal bit rate in time quanta
    • PCAN_BR_NOM_TSEG2

      public static final TPCANBitrateXLValue PCAN_BR_NOM_TSEG2
      TSEG2 segment for nominal bit rate in time quanta
    • PCAN_BR_NOM_SJW

      public static final TPCANBitrateXLValue PCAN_BR_NOM_SJW
      Synchronization Jump Width for nominal bit rate in time quanta
    • PCAN_BR_NOM_SAMPLE

      public static final TPCANBitrateXLValue PCAN_BR_NOM_SAMPLE
      Sample point for nominal bit rate
    • PCAN_BR_DATA_BRP

      public static final TPCANBitrateXLValue PCAN_BR_DATA_BRP
      Clock prescaler for highspeed data time quantum
    • PCAN_BR_DATA_TSEG1

      public static final TPCANBitrateXLValue PCAN_BR_DATA_TSEG1
      TSEG1 segment for fast data bit rate in time quanta
    • PCAN_BR_DATA_TSEG2

      public static final TPCANBitrateXLValue PCAN_BR_DATA_TSEG2
      TSEG2 segment for fast data bit rate in time quanta
    • PCAN_BR_DATA_SJW

      public static final TPCANBitrateXLValue PCAN_BR_DATA_SJW
      Synchronization Jump Width for highspeed data bit rate in time quanta
    • PCAN_BR_DATA_SAMPLE

      public static final TPCANBitrateXLValue PCAN_BR_DATA_SAMPLE
      Secondary sample point delay for highspeed data bitrate in cyles
    • PCAN_BR_BRP

      public static final TPCANBitrateXLValue PCAN_BR_BRP
      Clock prescaler for nominal, CAN FD and CAN XL bit rates
    • PCAN_BR_FD_TSEG1

      public static final TPCANBitrateXLValue PCAN_BR_FD_TSEG1
      Clock prescaler for fast data time quantum
    • PCAN_BR_FD_TSEG2

      public static final TPCANBitrateXLValue PCAN_BR_FD_TSEG2
      Clock prescaler for fast data time quantum
    • PCAN_BR_FD_SJW

      public static final TPCANBitrateXLValue PCAN_BR_FD_SJW
      Synchronization Jump Width for fast data bit rate in time quanta
    • PCAN_BR_FD_SSP_OFFSET

      public static final TPCANBitrateXLValue PCAN_BR_FD_SSP_OFFSET
      Secondary sample point delay for fast data bit rate in cycles
    • PCAN_BR_XL_TSEG1

      public static final TPCANBitrateXLValue PCAN_BR_XL_TSEG1
      Clock prescaler for XL time quantum
    • PCAN_BR_XL_TSEG2

      public static final TPCANBitrateXLValue PCAN_BR_XL_TSEG2
      Clock prescaler for XL time quantum
    • PCAN_BR_XL_SJW

      public static final TPCANBitrateXLValue PCAN_BR_XL_SJW
      Synchronization Jump Width for XL bit rate in time quanta
    • PCAN_BR_XL_SSP_OFFSET

      public static final TPCANBitrateXLValue PCAN_BR_XL_SSP_OFFSET
      Secondary sample point delay for XL bit rate in cycles
    • PCAN_BR_XL_PWM_OFFSET

      public static final TPCANBitrateXLValue PCAN_BR_XL_PWM_OFFSET
      CAN XL PWM Offset in mtq ticks == f_cancore cycles
    • PCAN_BR_XL_PWM_SHORT

      public static final TPCANBitrateXLValue PCAN_BR_XL_PWM_SHORT
      CAN XL PWM Short phase in mtq ticks == f_cancore cycles
    • PCAN_BR_XL_PWM_LONG

      public static final TPCANBitrateXLValue PCAN_BR_XL_PWM_LONG
      CAN XL PWM Long phase in mtq ticks == f_cancore cycles
    • PCAN_BR_XL_TRANSCEIVER_MODE_SWITCH

      public static final TPCANBitrateXLValue 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

      public static final TPCANBitrateXLValue 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

      public static TPCANBitrateXLValue[] 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

      public static TPCANBitrateXLValue valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      The string value of Bitrate XL string parameter
      Returns:
      String corresponding to the bitrate XL string parameter