Package peak.can.basic
Class TPCANBitrateFD
- java.lang.Object
-
- peak.can.basic.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 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
-
-