Class TPCANBitrateFD


  • public class TPCANBitrateFD
    extends java.lang.Object
    FD bit rates for the CAN FD controller. You can define your own bit rate with the FD string, as shown in this exemple: "f_clock_mhz=20, nom_brp=5, nom_tseg1=2, nom_tseg2=1, nom_sjw=1, data_brp=2, data_tseg1=3, data_tseg2=1, data_sjw=1"
    • Constructor Summary

      Constructors 
      Constructor Description
      TPCANBitrateFD​(java.lang.String value)
      Creates a CAN FD bitrate
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getValue()
      Returns the string configuration of the bitrate code.
      void setValue​(java.lang.String value)
      Sets string configuration of the bitrate code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TPCANBitrateFD

        public TPCANBitrateFD​(java.lang.String value)
        Creates a CAN FD bitrate
        Parameters:
        value - A CAN FD bitrate string (for instance: "f_clock_mhz=20, nom_brp=5, nom_tseg1=2, nom_tseg2=1, nom_sjw=1, data_brp=2, data_tseg1=3, data_tseg2=1, data_sjw=1")
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Returns the string configuration of the bitrate code.
        Returns:
        The bitrate string configuration
      • setValue

        public void setValue​(java.lang.String value)
        Sets string configuration of the bitrate code.
        Parameters:
        value - The new bitrate string configuration