BitrateFD(BitrateFDClockFrequency, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32) Constructor
Initializes an instance of a
BitrateFD object.
Namespace: Peak.Can.BasicAssembly: PCANBasic.NET (in PCANBasic.NET.dll) Version: 5.1.0
public BitrateFD(
BitrateFDClockFrequency frequency = BitrateFDClockFrequency.Mhz_80,
uint nominalBrp = 0,
uint nominalTseg1 = 0,
uint nominalTseg2 = 0,
uint nominalSjw = 0,
uint dataBrp = 0,
uint dataTseg1 = 0,
uint dataTseg2 = 0,
uint dataSjw = 0
)
Public Sub New (
Optional frequency As BitrateFDClockFrequency = BitrateFDClockFrequency.Mhz_80,
Optional nominalBrp As UInteger = 0,
Optional nominalTseg1 As UInteger = 0,
Optional nominalTseg2 As UInteger = 0,
Optional nominalSjw As UInteger = 0,
Optional dataBrp As UInteger = 0,
Optional dataTseg1 As UInteger = 0,
Optional dataTseg2 As UInteger = 0,
Optional dataSjw As UInteger = 0
)
public:
BitrateFD(
BitrateFDClockFrequency frequency = BitrateFDClockFrequency::Mhz_80,
unsigned int nominalBrp = 0,
unsigned int nominalTseg1 = 0,
unsigned int nominalTseg2 = 0,
unsigned int nominalSjw = 0,
unsigned int dataBrp = 0,
unsigned int dataTseg1 = 0,
unsigned int dataTseg2 = 0,
unsigned int dataSjw = 0
)
Parameters
- frequency BitrateFDClockFrequency (Optional)
- The clock frequency to use for the CAN FD bit rate.
- nominalBrp UInt32 (Optional)
- The bit rate prescaler value (BRP) of the nominal part of the CAN FD bit rate.
- nominalTseg1 UInt32 (Optional)
- The time segment 1 value (TSEG1) of the nominal part of the CAN FD bit rate.
- nominalTseg2 UInt32 (Optional)
- The time segment 2 value (TSEG2) of the nominal part of the CAN FD bit rate.
- nominalSjw UInt32 (Optional)
- the resynchronization jump value (SJW) of the nominal part of the CAN FD bit rate.
- dataBrp UInt32 (Optional)
- The bit rate prescaler value (BRP) of the data part of the CAN FD bit rate.
- dataTseg1 UInt32 (Optional)
- The time segment 1 value (TSEG1) of the data part of the CAN FD bit rate.
- dataTseg2 UInt32 (Optional)
- The time segment 2 value (TSEG2) of the data part of the CAN FD bit rate.
- dataSjw UInt32 (Optional)
- the resynchronization jump width value (SJW) of the data part of the CAN FD bit rate.